Mercurial > hg > nsaunier > traffic-intelligence
comparison c/Makefile @ 18:ef35d5f111e4
incorporated code to use KLT
| author | Nicolas Saunier <nico@confins.net> |
|---|---|
| date | Fri, 27 Nov 2009 00:21:18 -0500 |
| parents | 30559b2cf7a9 |
| children | a52653dca25d |
comparison
equal
deleted
inserted
replaced
| 17:9403759cf2c1 | 18:ef35d5f111e4 |
|---|---|
| 46 OBJS = $(COMMON_OBJS) $(CV_OBJS) | 46 OBJS = $(COMMON_OBJS) $(CV_OBJS) |
| 47 #TESTS_OBJS = | 47 #TESTS_OBJS = |
| 48 | 48 |
| 49 default: builddir all | 49 default: builddir all |
| 50 | 50 |
| 51 all: test-pixels optical-flow | 51 all: test-pixels optical-flow track-features |
| 52 | 52 |
| 53 builddir: | 53 builddir: |
| 54 @createdirectory.sh $(BUILD_DIR) | 54 @createdirectory.sh $(BUILD_DIR) |
| 55 | |
| 56 track-features.o: track-features.cpp | |
| 57 $(CXX) -I../../klt $(INCLUDE) $^ -c | |
| 58 | |
| 59 track-features: track-features.o $(OBJS) | |
| 60 $(CXX) $(CFLAGS) $(LIBS) -L../../klt $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) -lklt | |
| 55 | 61 |
| 56 optical-flow: optical-flow.o $(OBJS) | 62 optical-flow: optical-flow.o $(OBJS) |
| 57 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) | 63 $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) |
| 58 | 64 |
| 59 test-pixels: test-pixels.o $(OBJS) | 65 test-pixels: test-pixels.o $(OBJS) |
