From 757dd1239fc89a7f2d5f5c2b27db4b13519a1d39 Mon Sep 17 00:00:00 2001 From: Christian Berger Date: Tue, 28 Jul 2015 07:12:22 -0700 Subject: [PATCH] * Adding a prefix to let the makefile be used in different settings --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 48a0044..f7b4b8e 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ +PREFIX=/usr CXX=g++ RM=rm -f -INCLUDES=-I/opt/od/include/opendavinci +INCLUDES=-I$(PREFIX)/include/opendavinci CPPFLAGS=-Wall $(INCLUDES) -LDLIBS=-L/opt/od/lib/ -lopendavinci -lpthread -lopencv_core -lopencv_highgui +LDLIBS=-L$(PREFIX)/lib/ -lopendavinci -lpthread -lopencv_core -lopencv_highgui BIN=CaroloCup-CameraPlayback SRCS=CaroloCup-CameraPlayback.cpp