Mercurial Hosting > traffic-intelligence
comparison c/Makefile @ 9:eb38637f338d
created cvutils
author | Nicolas Saunier <nico@confins.net> |
---|---|
date | Sun, 08 Nov 2009 10:33:41 -0500 |
parents | 59b7e3954178 |
children | 068cf45c3f1b |
comparison
equal
deleted
inserted
replaced
8:59b7e3954178 | 9:eb38637f338d |
---|---|
1 BUILD_DIR=../bin | 1 BUILD_DIR=../bin |
2 | 2 |
3 CXX = g++ | 3 CXX = g++ |
4 | |
5 INCLUDE = -I../include | |
4 | 6 |
5 LDFLAGS = -lm | 7 LDFLAGS = -lm |
6 LDFLAGS += -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_unit_test_framework-mt | 8 LDFLAGS += -lboost_program_options-mt -lboost_filesystem-mt -lboost_system-mt -lboost_unit_test_framework-mt |
7 LDFLAGS += -lfltk | 9 LDFLAGS += -lfltk |
8 | 10 |
43 all: test-pixels | 45 all: test-pixels |
44 | 46 |
45 builddir: | 47 builddir: |
46 @createdirectory.sh $(BUILD_DIR) | 48 @createdirectory.sh $(BUILD_DIR) |
47 | 49 |
48 test-pixels: test-pixels.o | 50 test-pixels: test-pixels.o cvutils.o |
49 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/test-pixels $(LDFLAGS) | 51 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/test-pixels $(LDFLAGS) |
50 # $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) | 52 # $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) |
51 | 53 |
52 clean: | 54 clean: |
53 rm -f *.gch */*.o *.o *.a $(BUILD_DIR)/* | 55 rm -f *.gch */*.o *.o *.a $(BUILD_DIR)/* |