1 |
root |
1.34 |
CXX=g++ -O6 |
2 |
root |
1.32 |
CC=$(CXX) |
3 |
root |
1.38 |
CXXFLAGS=$(shell sdl-config --cflags) -DDEBUG |
4 |
root |
1.35 |
LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lGLU |
5 |
root |
1.1 |
|
6 |
root |
1.4 |
all: test |
7 |
|
|
|
8 |
root |
1.37 |
test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.o material.o shader.o shader_vars.o y.tab.o lex.yy.o |
9 |
|
|
|
10 |
|
|
y.tab.o: y.tab.c lex.yy.c |
11 |
|
|
|
12 |
|
|
lex.yy.c: doom3map_lexer.l y.tab.h |
13 |
|
|
lex $< |
14 |
|
|
|
15 |
|
|
y.tab.h: y.tab.c |
16 |
|
|
|
17 |
|
|
y.tab.c: doom3map_parser.y |
18 |
|
|
yacc -d $< |
19 |
root |
1.1 |
|
20 |
|
|
clean: |
21 |
root |
1.2 |
rm -f test *.o |
22 |
root |
1.1 |
|
23 |
root |
1.10 |
depend: |
24 |
root |
1.13 |
makedepend -Y *.C >/dev/null 2>&1 |
25 |
root |
1.10 |
|
26 |
|
|
# DO NOT DELETE |
27 |
|
|
|
28 |
root |
1.35 |
entity.o: opengl.h util.h entity.h oct.h view.h event.h material.h shader.h |
29 |
|
|
entity.o: shader_vars.h |
30 |
|
|
level1.o: entity.h opengl.h util.h oct.h view.h event.h material.h shader.h |
31 |
|
|
level1.o: shader_vars.h |
32 |
root |
1.36 |
material.o: opengl.h material.h util.h shader.h shader_vars.h view.h event.h |
33 |
root |
1.35 |
oct.o: opengl.h oct.h util.h view.h event.h entity.h material.h shader.h |
34 |
|
|
oct.o: shader_vars.h |
35 |
root |
1.32 |
shader.o: shader.h opengl.h util.h shader_vars.h |
36 |
root |
1.33 |
shader_vars.o: shader_vars.h shader.h opengl.h util.h |
37 |
root |
1.35 |
test.o: opengl.h util.h entity.h oct.h view.h event.h material.h shader.h |
38 |
|
|
test.o: shader_vars.h txtprt_import.h |
39 |
root |
1.30 |
txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h |
40 |
root |
1.35 |
txtprt_import.o: event.h material.h shader.h shader_vars.h |
41 |
|
|
util.o: opengl.h util.h entity.h oct.h view.h event.h material.h shader.h |
42 |
|
|
util.o: shader_vars.h |
43 |
root |
1.30 |
view.o: opengl.h view.h util.h event.h oct.h |
44 |
root |
1.35 |
x.o: shader.h opengl.h util.h shader_vars.h |