Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Missing Makefile mods.

  • Loading branch information...
commit 53d89bd1a126620a731e95fff720d28d38e8a92e 1 parent 8d0624e
Andywebs authored April 30, 2011

Showing 1 changed file with 6 additions and 2 deletions. Show diff stats Hide diff stats

  1. 8  Makefile
8  Makefile
@@ -2,18 +2,22 @@ PKGFLAGS:=$(shell pkg-config --cflags --libs openssl ao)
2 2
 CFLAGS:=-O2 -Wall
3 3
 LDFLAGS:=-lm -lpthread
4 4
 
5  
-all: hairtunes
  5
+all: hairtunes shairport
6 6
 
7 7
 hairtunes: hairtunes.c alac.c
8 8
 	$(CC) $(CFLAGS) hairtunes.c alac.c -o $@ $(PKGFLAGS) $(LDFLAGS)
9 9
 
  10
+shairport: socketlib.c shairport.c alac.c
  11
+	$(CC) $(CFLAGS) alac.c socketlib.c shairport.c -o $@ $(PKGFLAGS) $(LDFLAGS)
  12
+
10 13
 clean:
11  
-	-@rm -rf hairtunes
  14
+	-@rm -rf hairtunes shairport
12 15
 
13 16
 prefix=/usr/local
14 17
 install: hairtunes
15 18
 	install -m 0755 hairtunes $(prefix)/bin
16 19
 	install -m 0755 shairport.pl $(prefix)/bin
  20
+	install -m 0755 shairport $(prefix)/bin
17 21
 
18 22
 .PTHONY: all clean install
19 23
 

0 notes on commit 53d89bd

Please sign in to comment.
Something went wrong with that request. Please try again.