X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=Makefile;h=5d8d44cbd59632080bfda92721ec82eb312197d7;hb=eae1e2244fbaae868c9770a050516a731ba90f5f;hp=f1beb7565dca0f4507504871ce692cb7275bc4e2;hpb=2574c175df5367d7b2669f0d067004904307a53c;p=ursary.git diff --git a/Makefile b/Makefile index f1beb75..5d8d44c 100644 --- a/Makefile +++ b/Makefile @@ -11,9 +11,16 @@ LIBUCW_LIBS := $(shell PKG_CONFIG_PATH=$(LIBUCW_PKG) pkg-config --libs libucw) CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99 $(LIBUCW_CFLAGS) $(LIBUSB_CFLAGS) $(LIBPULSE_CFLAGS) -g2 LDLIBS=$(LIBUCW_LIBS) $(LIBUSB_LIBS) $(LIBPULSE_LIBS) -all: ut +all: ursaryd -ut: ut.o +ursaryd: ursaryd.o mpd.o nocturn.o pulse.o pulse-ucw.o + +ursaryd.o: ursaryd.c ursaryd.h +mpd.o: mpd.c ursaryd.h +nocturn.o: nocturn.c ursaryd.h +pulse.o: pulse.c ursaryd.h +pulse-ucw.o: pulse-ucw.c ursaryd.h clean: rm -f `find . -name "*~" -or -name "*.[oa]" -or -name "\#*\#" -or -name TAGS -or -name core -or -name .depend -or -name .#*` + rm -f ursaryd