summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b7f2864..eca55b2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,9 @@
-OBJECT=src/main.o src/body.o src/state.o src/feature.o
+OBJECT=src/main.o src/body.o src/state.o src/feature.o src/camera.o
CXXFLAGS+=-O2 -march=native -std=c++11 -pedantic-errors
#CXXFLAGS+=-g
-CXXFLAGS+=$(shell pkg-config --cflags eigen3)
+CXXFLAGS+=$(shell pkg-config --cflags eigen3 yaml-cpp)
#CXXFLAGS+=$(shell pkg-config --cflags opencv)
+LIBS+=$(shell pkg-config --libs eigen3 yaml-cpp)
#LIBS+=$(shell pkg-config --libs opencv)
slam: ${OBJECT}