diff options
Diffstat (limited to 'tests/Makefile')
-rw-r--r-- | tests/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile index 37d1687..06e42ae 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -6,16 +6,23 @@ CXXFLAGS+=$(shell pkg-config --cflags eigen3 yaml-cpp) LIBS+=$(shell pkg-config --libs eigen3 yaml-cpp) #LIBS+=$(shell pkg-config --libs opencv) +.PHONY: all + +all: test_camera test_feature test_filter + test_camera: test_camera.o ../src/camera.o $(CXX) -o $@ $^ $(CXXFLAGS) ${LIBS} test_feature: ${OBJECT} $(CXX) -o $@ $^ $(CXXFLAGS) ${LIBS} +test_filter: test_filter.o ../src/filter.o + $(CXX) -o $@ $^ $(CXXFLAGS) ${LIBS} + .cpp.o: $(CXX) $(CXXFLAGS) ${LIBS} -c $< -o $@ .PHONY: clean clean: - rm -f test_camera test_feature *.o src/*.o + rm -f test_filter test_camera test_feature *.o src/*.o |