Files
shairport-sync/Makefile
T
Rafał Kwaśny bd263d7b5d - add install target to Makefile
- add sample init script (shairport.init.sample)
2011-04-14 21:17:14 +02:00

24 lines
414 B
Makefile

PKGFLAGS:=$(shell pkg-config --cflags --libs openssl ao)
CFLAGS:=-O0
LDFLAGS:=-lm -lpthread
PAUFLAGS:=-lportaudio
all: hairtunes
hairtunes: hairtunes.c alac.c
$(CC) $(CFLAGS) $(PKGFLAGS) $(LDFLAGS) $? -o $@
clean:
-@rm -rf hairtunes
.PTHONY: all clean
prefix=/usr/local
install: hairtunes
install -m 0755 hairtunes $(prefix)/bin
install -m 0755 shairport.pl $(prefix)/bin
.PHONY: install
.SILENT: clean