Changeset 80 for foam/trunk
- Timestamp:
- 05/08/2009 02:09:22 PM (12 years ago)
- Location:
- foam/trunk/experiments
- Files:
-
- 3 added
- 2 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
foam/trunk/experiments/Makefile
r72 r80 1 TARGET := test 2 3 SRCS := src/main.cpp\ 4 src/Image.cpp\ 5 src/Rendering.cpp 6 7 CCFLAGS = `pkg-config --cflags opencv` -ggdb -Wall -O3 -ffast-math -Wno-unused -DTIXML_USE_STL 8 LDFLAGS = 9 LIBS = `pkg-config --libs opencv` -lYARP_dev -lYARP_sig -lYARP_OS -lACE 10 1 11 CC = g++ 2 CXXFLAGS = `pkg-config --cflags opencv` -ggdb -Wall -O3 -ffast-math -Wno-unused 3 LDFLAGS = `pkg-config --libs opencv` 12 OBJS := ${SRCS:.cpp=.o} 13 DEPS := ${SRCS:.cpp=.dep} 14 XDEPS := $(wildcard ${DEPS}) 4 15 5 all: simple-faceident 16 .PHONY: all clean distclean 17 all:: ${TARGET} 6 18 7 simple-faceident: main.o ImageUtils.o 8 $(CC) main.o ImageUtils.o -rdynamic -o exp $(LDFLAGS) 19 ifneq (${XDEPS},) 20 include ${XDEPS} 21 endif 9 22 10 main.o: src/main.cpp 11 $ (CC) $(CXXFLAGS) -c src/main.cpp23 ${TARGET}: ${OBJS} 24 ${CC} ${LDFLAGS} -o $@ $^ ${LIBS} 12 25 26 ${OBJS}: %.o: %.cpp %.dep 27 ${CC} ${CCFLAGS} -o $@ -c $< 13 28 14 ImageUtils.o: src/ImageUtils.cpp 15 $ (CC) $(CXXFLAGS) -c src/ImageUtils.cpp29 ${DEPS}: %.dep: %.cpp Makefile 30 ${CC} ${CCFLAGS} -MM $< > $@ 16 31 17 clean: 18 rm -rf *.o exp32 clean:: 33 -rm -f *~ src/*.o ${TARGET} 19 34 35 distclean:: clean 20 36 -
foam/trunk/experiments/src/Image.cpp
r79 r80 15 15 // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 16 16 17 #include "Image Utils.h"17 #include "Image.h" 18 18 19 19 #include <iostream> -
foam/trunk/experiments/src/main.cpp
r79 r80 18 18 #endif 19 19 20 #include "Image Utils.h"20 #include "Image.h" 21 21 22 22 static CvMemStorage* storage = 0;
Note: See TracChangeset
for help on using the changeset viewer.