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