CFILEEXT=cpp # Make sure we're using a compiler (we probably don't need to define # it but we have been so here it is unless it was already set) ifndef CXX CXX=g++ endif ARIA=/usr/local/Aria CXXFLAGS+= -fPIC -g -Wall -D_REENTRANT -fno-exceptions CXXINC=-I$(ARIA)/include -I$(ARIA)/ArNetworking/include CXXLINK=-L$(ARIA)/lib -lAria -lArNetworking -lpthread -ldl \ -Xlinker -Bstatic -lstdc++ -Xlinker -Bdynamic CXXSTATICLINK=-L../lib -Xlinker -Bstatic -lArNetworking -lAria -Xlinker -Bdynamic -lpthread -ldl -Xlinker -Bstatic -lstdc++ -Xlinker -Bdynamic ROOT_INCLUDE = /usr/include ROOT_LIB = /usr/lib #LOCALLIB = /usr/local/BumbleBee2/examples-libdc-2/pgrlibdcstereo # change to local version of library to debug extract color images 10/18 LOCALLIB = ../bumblebee/PGR # compilation flags CPPFLAGS += -I. # libdc1394 installed in /usr/local/include location CPPFLAGS += -I$(ROOT_INCLUDE)/dc1394 CPPFLAGS += -I$(LOCALLIB) CPPFLAGS += -I/usr/local/triclops/include CPPFLAGS += -Wall -g CPPFLAGS += -DLINUX #CPPFLAGS += -Wall -O3 CPPFLAGS += -I/usr/include/opencv/ LDFLAGS += -L. -L/usr/local/triclops/lib LDFLAGS += -L$(LOCALLIB) LDFLAGS += -L$(ROOT_LIB) LDFLAGS += -L/usr/lib LIBS += -ldc1394 -lraw1394 -pthread LIBS += -lpgrlibdcstereo -ltriclops -lpnmutils LIBS += -lcv -lcvaux -lhighgui SFILES=stereoServer.cpp stereoCamera.cpp OFILES=stereoServer.o stereoCamera.o stereoServer: $(SFILES) $(CXX) $(CXXFLAGS) $(CXXINC) $(CPPFLAGS) $(SFILES) -o $@ $(CXXLINK) $(LDFLAGS) $(LIBS)