summaryrefslogtreecommitdiff
path: root/tests/Makefile
diff options
context:
space:
mode:
authorMartin Miller2017-03-27 12:55:09 -0500
committerMartin Miller2017-03-27 12:55:09 -0500
commitb08113d11d181cbcca9103d8f67c60b9905ec972 (patch)
treee9daad9b0c303ef951f02b2a9288f98fd8a516bf /tests/Makefile
parentd119b2c7ca16b8375abfeb5c1efd8e98047be5ad (diff)
downloadrefslam-b08113d11d181cbcca9103d8f67c60b9905ec972.zip
refslam-b08113d11d181cbcca9103d8f67c60b9905ec972.tar.gz
Add test_camera
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile b/tests/Makefile
index 636f2f3..37d1687 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -6,6 +6,9 @@ CXXFLAGS+=$(shell pkg-config --cflags eigen3 yaml-cpp)
LIBS+=$(shell pkg-config --libs eigen3 yaml-cpp)
#LIBS+=$(shell pkg-config --libs opencv)
+test_camera: test_camera.o ../src/camera.o
+ $(CXX) -o $@ $^ $(CXXFLAGS) ${LIBS}
+
test_feature: ${OBJECT}
$(CXX) -o $@ $^ $(CXXFLAGS) ${LIBS}
@@ -14,5 +17,5 @@ test_feature: ${OBJECT}
.PHONY: clean
clean:
- rm -f test_feature *.o src/*.o
+ rm -f test_camera test_feature *.o src/*.o