hdjd/Makefile

28 lines
757 B
Makefile
Raw Normal View History

2013-05-27 22:11:48 -06:00
CFLAGS += -Wall
CFLAGS += -Werror
2013-09-15 21:42:33 -06:00
TARGETS = hdjd aac123 explore
2013-09-08 17:45:44 -06:00
CFLAGS += -g
2013-05-27 22:11:48 -06:00
2013-09-15 21:42:33 -06:00
all: $(TARGETS)
2012-06-26 23:29:48 -06:00
2013-12-26 11:39:26 -07:00
hdjd: LDLIBS += $(shell pkg-config --libs libusb-1.0)
hdjd: LDLIBS += $(shell pkg-config --libs alsa)
2013-05-27 22:11:48 -06:00
hdjd: hdjd.o usb.o alsa.o
2013-12-26 11:39:26 -07:00
explore: LDLIBS += $(shell pkg-config --libs libusb-1.0)
explore.o: CFLAGS += $(shell pkg-config --cflags libusb-1.0)
2013-05-27 22:11:48 -06:00
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:
2013-09-15 21:42:33 -06:00
rm -f $(TARGETS) *.o