OSDN Git Service

stop using trunk or dist directory in rec10 project.
[rec10/rec10-git.git] / tstools / epgdump / Makefile
old mode 100755 (executable)
new mode 100644 (file)
index 53be5ba..8fab02d
@@ -1,18 +1,25 @@
 PREFIX         = /usr/local
 TARGETS        = epgdump
-OBJ_TARGETS    = epgdump.o aribstr.o eit.o ts.o util.o sdt.o
-HEDDERDEPEND   = eit.h sdt.h aribstr.h ts.h util.h
+OBJ_TARGETS    = epgdump.o aribstr.o eit.o ts.o util.o psi.o sdt.o cdt.o sdtt.o dsmcc.o tot.o bit.o clt2png.o
+HEDDERDEPEND   =           aribstr.h eit.h ts.h util.h psi.h sdt.h cdt.h sdtt.h dsmcc.h tot.h bit.h clt2png.h
 
 LANG           = C
 CC             = gcc
 
 #CFLAGS                = -std=c99 -O2 -Wall -g
+#CFLAGS                = -std=c99 -O0 -Wall -ggdb
 CFLAGS         = -std=c99 -O2 -Wall -ggdb
+#CFLAGS                = -std=c99 -O2 -Wall -ggdb -lefence
+
+CXX            = g++
+CXXFLAGS       = -O2 -Wall -ggdb -lstdc++
 
 LIBS           = 
 
 .c.o:                  ${CC} ${CFLAGS} -c $<
 
+.cpp.o:                        $(CXX) $(CXXFLAGS) -o $@ -c $^
+
 all:                   ${TARGETS}
 
 ${TARGETS}:            ${OBJ_TARGETS}