X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/record-dvb/blobdiff_plain/5c2e3e4489486a30d8f14338277de093b4d94cf0..657d048dbd935b019e08009cb337ea999d762e83:/Makefile diff --git a/Makefile b/Makefile index f3306ce..e0ba4f3 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,19 @@ CFLAGS =-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -g -OBJS = record-dvb.o http.o mcast.o common.o +COMMONOBJS = http.o mcast.o common.o +OBJS = record-dvb.o dump-mcast.o $(COMMONOBJS) -all: record-dvb +all: record-dvb dump-mcast DEPEND=$(OBJS:.o=.d) -include $(DEPEND) -record-dvb: $(OBJS) +record-dvb: record-dvb.o $(COMMONOBJS) + +dump-mcast: dump-mcast.o $(COMMONOBJS) clean: - rm -f record-dvb $(OBJS) $(DEPEND) + rm -f record-dvb dump-mcast $(OBJS) $(DEPEND) %.o: %.c $(COMPILE.c) $(OUTPUT_OPTION) $<