1 | CXX=g++ -O0 |
1 | CXX=g++-3.4 -O6 |
2 | CC=g++ -O |
2 | CC=$(CXX) |
3 | CPPFLAGS=$(shell sdl-config --cflags) |
3 | CPPFLAGS=$(shell sdl-config --cflags) -DDEBUG |
4 | LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lCg -lCgGL -lGLU -lglut |
4 | LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lCg -lCgGL -lGLU |
5 | |
5 | |
6 | all: test |
6 | all: test |
7 | |
7 | |
8 | test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.o |
8 | test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.o material.o shader.o shader_vars.o |
9 | |
9 | |
10 | clean: |
10 | clean: |
11 | rm -f test *.o |
11 | rm -f test *.o |
12 | |
12 | |
13 | depend: |
13 | depend: |
14 | makedepend -Y *.C >/dev/null 2>&1 |
14 | makedepend -Y *.C >/dev/null 2>&1 |
15 | |
15 | |
16 | # DO NOT DELETE |
16 | # DO NOT DELETE |
17 | |
17 | |
18 | entity.o: util.h gldebug.h entity.h oct.h view.h event.h |
18 | entity.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
19 | oct.o: oct.h util.h gldebug.h view.h event.h entity.h |
19 | level1.o: entity.h opengl.h util.h oct.h view.h event.h material.h |
20 | test.o: util.h gldebug.h entity.h oct.h view.h event.h txtprt_import.h |
20 | material.o: opengl.h material.h util.h |
|
|
21 | oct.o: opengl.h oct.h util.h view.h event.h entity.h material.h |
|
|
22 | shader.o: shader.h opengl.h util.h shader_vars.h |
|
|
23 | shader_vars.o: shader_vars.h shader.h opengl.h util.h |
|
|
24 | test.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
|
|
25 | test.o: txtprt_import.h shader.h |
21 | txtprt_import.o: txtprt_import.h entity.h util.h gldebug.h oct.h view.h |
26 | txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h |
22 | txtprt_import.o: event.h |
27 | txtprt_import.o: event.h material.h |
23 | util.o: util.h gldebug.h entity.h oct.h view.h event.h |
28 | util.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
24 | view.o: view.h util.h gldebug.h event.h oct.h |
29 | view.o: opengl.h view.h util.h event.h oct.h |