1 | CXX=g++ -O6 |
1 | CXX=g++ -O6 |
2 | CC=g++ -O |
2 | CC=g++ -O |
3 | CPPFLAGS=$(shell sdl-config --cflags) $(shell gts-config --cflags) |
3 | CPPFLAGS=$(shell sdl-config --cflags) |
4 | LDLIBS=$(shell sdl-config --libs) $(shell gts-config --libs) -lGL |
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 |
8 | test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.o material.o |
9 | |
|
|
10 | util.o: callback.h |
|
|
11 | callback.h: callback.pl |
|
|
12 | perl callback.pl > callback.h |
|
|
13 | |
9 | |
14 | clean: |
10 | clean: |
15 | rm -f test *.o |
11 | rm -f test *.o |
16 | |
12 | |
17 | depend: |
13 | depend: |
18 | makedepend *.C *.h |
14 | makedepend -Y *.C >/dev/null 2>&1 |
19 | |
15 | |
20 | # DO NOT DELETE |
16 | # DO NOT DELETE |
21 | |
17 | |
22 | entity.o: entity.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
18 | entity.o: opengl.h gldebug.h util.h entity.h oct.h view.h event.h material.h |
23 | entity.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h util.h |
19 | level1.o: entity.h opengl.h gldebug.h util.h oct.h view.h event.h material.h |
24 | entity.o: callback.h oct.h view.h |
20 | material.o: opengl.h gldebug.h material.h util.h |
25 | oct.o: /usr/include/GL/gl.h /usr/include/GL/glext.h |
21 | oct.o: opengl.h gldebug.h oct.h util.h view.h event.h entity.h material.h |
26 | oct.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h oct.h util.h |
22 | test.o: util.h opengl.h gldebug.h entity.h oct.h view.h event.h material.h |
27 | oct.o: callback.h view.h entity.h |
|
|
28 | test.o: /usr/include/stdlib.h /usr/include/features.h |
|
|
29 | test.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h |
|
|
30 | test.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h |
|
|
31 | test.o: /usr/include/stdio.h /usr/include/bits/types.h |
|
|
32 | test.o: /usr/include/bits/wordsize.h /usr/include/bits/typesizes.h |
|
|
33 | test.o: /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h |
|
|
34 | test.o: /usr/include/bits/wchar.h /usr/include/gconv.h |
|
|
35 | test.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stdarg.h |
|
|
36 | test.o: /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h |
|
|
37 | test.o: /usr/include/string.h /usr/include/math.h |
|
|
38 | test.o: /usr/include/bits/huge_val.h /usr/include/bits/mathdef.h |
|
|
39 | test.o: /usr/include/bits/mathcalls.h entity.h /usr/include/GL/gl.h |
|
|
40 | test.o: /usr/include/GL/glext.h util.h callback.h oct.h view.h |
|
|
41 | test.o: txtprt_import.h |
23 | test.o: txtprt_import.h |
42 | txtprt_import.o: txtprt_import.h entity.h /usr/include/GL/gl.h |
24 | txtprt_import.o: txtprt_import.h entity.h opengl.h gldebug.h util.h oct.h |
43 | txtprt_import.o: /usr/include/GL/glext.h |
25 | txtprt_import.o: view.h event.h material.h |
44 | txtprt_import.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h util.h |
26 | util.o: opengl.h gldebug.h util.h entity.h oct.h view.h event.h material.h |
45 | txtprt_import.o: callback.h oct.h view.h |
27 | view.o: opengl.h gldebug.h view.h util.h event.h oct.h |
46 | util.o: /usr/include/sys/time.h /usr/include/features.h |
|
|
47 | util.o: /usr/include/sys/cdefs.h /usr/include/gnu/stubs.h |
|
|
48 | util.o: /usr/include/bits/types.h /usr/include/bits/wordsize.h |
|
|
49 | util.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h |
|
|
50 | util.o: /usr/include/bits/typesizes.h /usr/include/time.h |
|
|
51 | util.o: /usr/include/bits/time.h /usr/include/sys/select.h |
|
|
52 | util.o: /usr/include/bits/select.h /usr/include/bits/sigset.h util.h |
|
|
53 | util.o: callback.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
54 | view.o: oct.h util.h callback.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
55 | view.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h view.h |
|
|
56 | entity.o: /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
57 | entity.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h util.h |
|
|
58 | entity.o: callback.h oct.h view.h |
|
|
59 | oct.o: util.h callback.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
60 | oct.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h |
|
|
61 | txtprt_import.o: entity.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
62 | txtprt_import.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h util.h |
|
|
63 | txtprt_import.o: callback.h oct.h view.h |
|
|
64 | util.o: callback.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
65 | util.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h |
|
|
66 | view.o: util.h callback.h /usr/include/GL/gl.h /usr/include/GL/glext.h |
|
|
67 | view.o: /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h |
|
|