CFLAGS =-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -Wall -g
-COMMONOBJS = http.o mcast.o common.o
-OBJS = record-dvb.o dump-mcast.o $(COMMONOBJS)
+COMMONOBJS = http.o mcast.o sap.o common.o
+OBJS = record-dvb.o dump-stream.o $(COMMONOBJS)
-all: record-dvb dump-mcast
+all: record-dvb dump-stream
DEPEND=$(OBJS:.o=.d)
-include $(DEPEND)
record-dvb: record-dvb.o $(COMMONOBJS)
-dump-mcast: dump-mcast.o $(COMMONOBJS)
+dump-stream: dump-stream.o $(COMMONOBJS)
clean:
- rm -f record-dvb $(OBJS) $(DEPEND)
+ rm -f record-dvb dump-stream $(OBJS) $(DEPEND)
%.o: %.c
$(COMPILE.c) $(OUTPUT_OPTION) $<