Mercurial Hosting > traffic-intelligence
diff 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 |
line wrap: on
line diff
--- a/c/Makefile Thu Nov 26 23:44:57 2009 -0500 +++ b/c/Makefile Fri Nov 27 00:21:18 2009 -0500 @@ -48,11 +48,17 @@ default: builddir all -all: test-pixels optical-flow +all: test-pixels optical-flow track-features builddir: @createdirectory.sh $(BUILD_DIR) +track-features.o: track-features.cpp + $(CXX) -I../../klt $(INCLUDE) $^ -c + +track-features: track-features.o $(OBJS) + $(CXX) $(CFLAGS) $(LIBS) -L../../klt $^ -o $(BUILD_DIR)/$@ $(LDFLAGS) -lklt + optical-flow: optical-flow.o $(OBJS) $(CXX) $(CFLAGS) $(LIBS) $^ -o $(BUILD_DIR)/$@ $(LDFLAGS)