Files
shairport-sync/Makefile
T
2011-04-16 11:45:45 +02:00

23 lines
428 B
Makefile

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