From 53d89bd1a126620a731e95fff720d28d38e8a92e Mon Sep 17 00:00:00 2001 From: Andrew Webster Date: Sat, 30 Apr 2011 05:36:31 -0400 Subject: [PATCH] Missing Makefile mods. --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index dab03a35..e9f20685 100644 --- a/Makefile +++ b/Makefile @@ -2,18 +2,22 @@ PKGFLAGS:=$(shell pkg-config --cflags --libs openssl ao) CFLAGS:=-O2 -Wall LDFLAGS:=-lm -lpthread -all: hairtunes +all: hairtunes shairport hairtunes: hairtunes.c alac.c $(CC) $(CFLAGS) hairtunes.c alac.c -o $@ $(PKGFLAGS) $(LDFLAGS) +shairport: socketlib.c shairport.c alac.c + $(CC) $(CFLAGS) alac.c socketlib.c shairport.c -o $@ $(PKGFLAGS) $(LDFLAGS) + clean: - -@rm -rf hairtunes + -@rm -rf hairtunes shairport prefix=/usr/local install: hairtunes install -m 0755 hairtunes $(prefix)/bin install -m 0755 shairport.pl $(prefix)/bin + install -m 0755 shairport $(prefix)/bin .PTHONY: all clean install