-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (13 loc) · 692 Bytes
/
Makefile
File metadata and controls
19 lines (13 loc) · 692 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FLAGS=-O2 -std=c++0x
# LIBS= -framework OpenGL -framework GLUT -lm -L/usr/local/lib -L/usr/lib/boost -lboost_program_options
UNAME= $(shell uname)
ifeq ($(UNAME), Linux)
LIBS= -I Eigen/ -I dstar/ -I SurfaceExplorer/ -lboost_program_options
endif
all:surfaceExplorer
dstar: dstar/Dstar.h dstar/Dstar.cpp dstar/TestDstar.cpp
g++ ${FLAGS} dstar/Dstar.cpp dstar/TestDstar.cpp -o dStar ${LIBS}
surfaceExplorer: SurfaceExplorer/SurfaceExplorer.h SurfaceExplorer/SurfaceExplorer.cpp SurfaceExplorer/TestSurfaceExplorer.cpp
g++ ${FLAGS} SurfaceExplorer/SurfaceExplorer.cpp dstar/Dstar.cpp SurfaceExplorer/TestSurfaceExplorer.cpp -o surfaceExplorer ${LIBS}
clean:
rm -f surfaceExplorer dStar