1 | CXX=g++ -O6 |
1 | CXX=g++-3.4 -O6 |
2 | CC=g++ -O |
2 | CC=$(CXX) |
3 | CPPFLAGS=$(shell sdl-config --cflags) -DDEBUG |
3 | CPPFLAGS=$(shell sdl-config --cflags) -DDEBUG |
4 | LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lCg -lCgGL -lGLU |
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 material.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: |
… | |
… | |
17 | |
17 | |
18 | entity.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
18 | entity.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
19 | level1.o: entity.h opengl.h util.h oct.h view.h event.h material.h |
19 | level1.o: entity.h opengl.h util.h oct.h view.h event.h material.h |
20 | material.o: opengl.h material.h util.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 |
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 |
22 | test.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
23 | test.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
23 | test.o: txtprt_import.h |
24 | test.o: txtprt_import.h |
24 | txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h |
25 | txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h |
25 | txtprt_import.o: event.h material.h |
26 | txtprt_import.o: event.h material.h |
26 | util.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
27 | util.o: opengl.h util.h entity.h oct.h view.h event.h material.h |
27 | view.o: opengl.h view.h util.h event.h oct.h |
28 | view.o: opengl.h view.h util.h event.h oct.h |
28 | x.o: util.h opengl.h |
|
|