Mercurial > hg > nsaunier > traffic-intelligence
comparison c/Makefile @ 10:068cf45c3f1b
added optical flow skeleton (test to reach a frame with cvqueryframe (fast for small resolutions)
| author | Nicolas Saunier <nico@confins.net> |
|---|---|
| date | Mon, 09 Nov 2009 01:56:25 -0500 |
| parents | eb38637f338d |
| children | 30559b2cf7a9 |
comparison
equal
deleted
inserted
replaced
| 9:eb38637f338d | 10:068cf45c3f1b |
|---|---|
| 38 CFLAGS += -pg | 38 CFLAGS += -pg |
| 39 endif | 39 endif |
| 40 | 40 |
| 41 CXXFLAGS = $(INCLUDE) $(CFLAGS) | 41 CXXFLAGS = $(INCLUDE) $(CFLAGS) |
| 42 | 42 |
| 43 #GUI_OBJS = | |
| 44 CV_OBJS = cvutils.o | |
| 45 #COMMON_OBJS = | |
| 46 OBJS = $(COMMON_OBJS) $(CV_OBJS) | |
| 47 #TESTS_OBJS = | |
| 48 | |
| 43 default: all builddir | 49 default: all builddir |
| 44 | 50 |
| 45 all: test-pixels | 51 all: test-pixels optical-flow |
| 46 | 52 |
| 47 builddir: | 53 builddir: |
| 48 @createdirectory.sh $(BUILD_DIR) | 54 @createdirectory.sh $(BUILD_DIR) |
| 49 | 55 |
| 50 test-pixels: test-pixels.o cvutils.o | 56 optical-flow: optical-flow.o $(OBJS) |
| 51 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/test-pixels $(LDFLAGS) | 57 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) |
| 52 # $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) | 58 |
| 59 test-pixels: test-pixels.o $(OBJS) | |
| 60 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) | |
| 53 | 61 |
| 54 clean: | 62 clean: |
| 55 rm -f *.gch */*.o *.o *.a $(BUILD_DIR)/* | 63 rm -f *.gch */*.o *.o *.a $(BUILD_DIR)/* |
| 56 # $(DISTFILE_OUTPUT) | 64 # $(DISTFILE_OUTPUT) |
