-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·72 lines (52 loc) · 1.61 KB
/
Makefile
File metadata and controls
executable file
·72 lines (52 loc) · 1.61 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
# 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++
COMPILEFLAGS = -D_LINUX -D_REENTRANT -Wall -O3 -march=nocona -msse3 -std=c++11 -g
INCLUDES = -I../include -I/usr/include/eigen3 -I/usr/include/suitesparse
# LINKFLAGS_G2O = -lg2o_solver_csparse -lg2o_types_sba -lg2o_solver_eigen -lg2o_stuff -lg2o_core -lg2o_csparse_extension -lg2o_solver_cholmod
LINKFLAGS = -L -lX11 -ltiff -lcxsparse -lcholmod -ljpeg -lpng -lglut -lGLU -lGL -ldc1394 -lXext -pthread -lGVars3 -lcvd -llapack -lcblas -lrefblas -ltmglib -lgfortran
# Edit this line to change video source
# VIDEOSOURCE = VideoSource_Linux_DV.o
VIDEOSOURCE = VideoSource_Linux_V4L.o
OBJECTS= main.o\
GLWindow2.o\
GLWindowMenu.o\
$(VIDEOSOURCE)\
System.o \
ATANCamera.o\
KeyFrame.o\
MapPoint.o\
Map.o\
SmallBlurryImage.o\
ShiTomasi.o \
HomographyInit.o \
MapMaker.o \
Bundle.o \
PatchFinder.o\
Relocaliser.o\
MiniPatch.o\
MapViewer.o\
ARDriver.o\
EyeGame.o\
Tracker.o
CALIB_OBJECTS= GLWindow2.o\
GLWindowMenu.o\
$(VIDEOSOURCE)\
CalibImage.o \
CalibCornerPatch.o\
ATANCamera.o \
CameraCalibrator.o
All: PTAM CameraCalibrator
PTAM: $(OBJECTS)
$(CC) -o PTAM $(OBJECTS) $(LINKFLAGS)
CameraCalibrator:$(CALIB_OBJECTS)
$(CC) -o CameraCalibrator $(CALIB_OBJECTS) $(LINKFLAGS)
%.o: %.cc
$(CC) $< -o $@ -c $(COMPILEFLAGS) $(INCLUDES)
clean:
rm *.o PTAM CameraCalibrator
depend:
rm dependecies; touch dependencies
makedepend -fdependencies $(INCLUDEFLAGS) $(MOREINCS) *.cc *.h
-include dependencies