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