-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (25 loc) · 941 Bytes
/
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
COMPILE = g++ -c -g `sdl-config --cflags` -I${HOME}/local/SDL_image/include
LINKER = g++ -g -framework opengl -framework Cocoa `sdl-config --libs` -L${HOME}/local/SDL_image/lib -lSDL_image -ljack -framework CoreAudio -lfftw3
model_viewer : model_viewer.o model.o camera.o engine.o ttorus.o jack_funcs.o
${LINKER} -o model_viewer model_viewer.o model.o camera.o engine.o ttorus.o jack_funcs.o
jack_funcs.o : jack_funcs.cpp engine.h
${COMPILE} jack_funcs.cpp
model.o : model.cpp model.h
${COMPILE} model.cpp
model_viewer.o : model_viewer.cpp engine.h
${COMPILE} model_viewer.cpp
camera.o : camera.cpp camera.h util.h
${COMPILE} camera.cpp
engine.o : engine.cpp engine.h util.h
${COMPILE} engine.cpp
ttorus.o : ttorus.cpp ttorus.h util.h
${COMPILE} ttorus.cpp
texture.o : texture.cpp texture.h util.h
${COMPILE} texture.cpp
.PHONY: clean
clean:
rm *.o model_viewer
.PHONY: doc
doc:
cd doc
doxygen doxygen.conf