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