2 CFLAGS = -g -fPIC -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
4 OBJS = ctools.o ringbuffy.o remux.o transform.o cpptools.o
6 CPPSRC = $(wildcard *.cpp)
7 CSRC = $(wildcard *.cc)
11 .PHONY: depend clean install uninstall
14 - rm -f *.o *~ *.a .depend
16 libdvbmpegtools.a: $(OBJS)
17 ar -rcs libdvbmpegtools.a $(OBJS)
20 $(CXX) -c $(CFLAGS) $(INCS) $(DEFINES) $<
23 $(CXX) -c $(CFLAGS) $(INCS) $(DEFINES) $<
26 $(CC) -c $(CFLAGS) $(INCS) $(DEFINES) $<
29 $(CXX) $(DEFINES) $(MFLAG) $(SRC) $(CSRC) $(CPPSRC) $(INCS)> .depend