]>
Commit | Line | Data |
---|---|---|
5c2e3e44 | 1 | CFLAGS =-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -g |
2 | ||
cc319f8b | 3 | COMMONOBJS = http.o mcast.o common.o |
4 | OBJS = record-dvb.o dump-mcast.o $(COMMONOBJS) | |
5c2e3e44 | 5 | |
cc319f8b | 6 | all: record-dvb dump-mcast |
5c2e3e44 | 7 | |
8 | DEPEND=$(OBJS:.o=.d) | |
9 | -include $(DEPEND) | |
10 | ||
cc319f8b | 11 | record-dvb: record-dvb.o $(COMMONOBJS) |
12 | ||
13 | dump-mcast: dump-mcast.o $(COMMONOBJS) | |
5c2e3e44 | 14 | |
15 | clean: | |
a58ff47b | 16 | rm -f record-dvb dump-mcast $(OBJS) $(DEPEND) |
5c2e3e44 | 17 | |
18 | %.o: %.c | |
19 | $(COMPILE.c) $(OUTPUT_OPTION) $< | |
20 | $(COMPILE.c) -MM $< > $*.d | |
21 | ||
22 | .PHONY: all clean |