-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
69 lines (46 loc) · 1.32 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# DO NOT DELETE THIS LINE -- make depend depends on it.
# Edit the lines below to point to any needed include and link paths
# Or to change the compiler's optimization flags
CC = g++
MY_CUSTOM_INCLUDE_PATH = ./libcvd ./gvars4 ./TooN `pkg-config --cflags opencv`
MY_CUSTON_LINK_PATH = ./libcvd ./gvars5 ./TooN -lblas --llapack `pkg-config --libs opencv`
COMPILEFLAGS = -I MY_CUSTOM_INCLUDE_PATH -D_LINUX -D_REENTRANT -Wall -g -O3 -march=nocona -msse3
LINKFLAGS = -L MY_CUSTOM_LINK_PATH -lGVars3 -lcvd -lopencv_highgui -lopencv_calib3d
# Edit this line to change video source
VIDEOSOURCE = VideoSource_Linux_OpenCV.o
OBJECTS= main.o\
GLWindow2.o\
GLWindowMenu.o\
$(VIDEOSOURCE)\
System.o \
ATANCamera.o\
StereoCamera.o\
KeyFrame.o\
MapPoint.o\
Map.o\
SmallBlurryImage.o\
ShiTomasi.o \
MapMaker.o \
Bundle.o \
PatchFinder.o\
Relocaliser.o\
MiniPatch.o\
MapViewer.o\
ARDriver.o\
EyeGame.o\
Tracker.o\
HelperFunctions.o\
StereoPatchFinder.o
All: PTAM
PTAM: $(OBJECTS)
$(CC) -o PTAM $(OBJECTS) $(LINKFLAGS)
CameraCalibrator:$(CALIB_OBJECTS)
$(CC) -o CameraCalibrator $(CALIB_OBJECTS) $(LINKFLAGS)
%.o: %.cc
$(CC) $< -o $@ -c $(COMPILEFLAGS)
clean:
rm *.o
depend:
rm dependecies; touch dependencies
makedepend -fdependencies $(INCLUDEFLAGS) $(MOREINCS) *.cc *.h
-include dependencies