hdjd/Makefile

24 lines
605 B
Makefile
Raw Normal View History

2013-05-27 22:11:48 -06:00
CFLAGS += -Wall
CFLAGS += -Werror
2013-09-08 17:45:44 -06:00
CFLAGS += -g
2013-05-27 22:11:48 -06:00
2012-08-07 10:44:58 -06:00
all: hdjd aac123
2012-06-26 23:29:48 -06:00
2012-08-07 10:44:58 -06:00
hdjd: LDFLAGS += $(shell pkg-config --libs libusb-1.0)
hdjd: LDFLAGS += $(shell pkg-config --libs alsa)
2013-05-27 22:11:48 -06:00
hdjd: hdjd.o usb.o alsa.o
alsa.o: CFLAGS += $(shell pkg-config --cflags alsa)
usb.o: CFLAGS += $(shell pkg-config --cflags libusb-1.0)
2012-08-07 10:44:58 -06:00
aac123: CFLAGS += $(shell pkg-config --cflags alsa)
aac123: LDLIBS += $(shell pkg-config --libs alsa)
2013-04-12 11:18:58 -06:00
aac123: LDLIBS += -lfaad -lmp4v2
aactest: CFLAGS += $(shell pkg-config --cflags alsa)
aactest: LDLIBS += $(shell pkg-config --libs alsa)
aactest: LDLIBS += -lfaad -lmp4v2
2013-09-08 17:45:44 -06:00
clean:
rm -f hdjd *.o