1 |
root |
1.44 |
CXX=g++ -O6 -ggdb |
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.41 |
test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.o material.o shader.o shader_vars.o doom3map_parser.tab.o lex.yy.o |
9 |
root |
1.37 |
|
10 |
root |
1.41 |
doom3map_parser.tab.o: doom3map_parser.tab.c++ lex.yy.c |
11 |
|
|
$(CXX) -c doom3map_parser.tab.c++ -o doom3map_parser.tab.o $(CXXFLAGS) |
12 |
root |
1.37 |
|
13 |
root |
1.41 |
lex.yy.c: doom3map_lexer.l doom3map_parser.tab.h++ |
14 |
root |
1.37 |
lex $< |
15 |
|
|
|
16 |
root |
1.41 |
doom3map_parser.tab.h++: doom3map_parser.tab.c++ |
17 |
root |
1.37 |
|
18 |
root |
1.41 |
doom3map_parser.tab.c++: doom3map_parser.y++ |
19 |
|
|
bison -d $< |
20 |
root |
1.1 |
|
21 |
|
|
clean: |
22 |
root |
1.2 |
rm -f test *.o |
23 |
root |
1.1 |
|
24 |
root |
1.10 |
depend: |
25 |
root |
1.42 |
makedepend -Y *.C *.y++ >/dev/null 2>&1 |
26 |
root |
1.10 |
|
27 |
|
|
# DO NOT DELETE |
28 |
|
|
|
29 |
root |
1.41 |
entity.o: opengl.h util.h entity.h oct.h view.h event.h shader.h |
30 |
|
|
entity.o: shader_vars.h material.h |
31 |
|
|
level1.o: entity.h opengl.h util.h oct.h view.h event.h shader.h |
32 |
|
|
level1.o: shader_vars.h material.h |
33 |
root |
1.36 |
material.o: opengl.h material.h util.h shader.h shader_vars.h view.h event.h |
34 |
root |
1.41 |
oct.o: opengl.h oct.h util.h view.h event.h shader.h shader_vars.h entity.h |
35 |
|
|
oct.o: material.h |
36 |
root |
1.32 |
shader.o: shader.h opengl.h util.h shader_vars.h |
37 |
root |
1.33 |
shader_vars.o: shader_vars.h shader.h opengl.h util.h |
38 |
root |
1.41 |
test.o: opengl.h util.h entity.h oct.h view.h event.h shader.h shader_vars.h |
39 |
|
|
test.o: material.h txtprt_import.h |
40 |
root |
1.30 |
txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h |
41 |
root |
1.41 |
txtprt_import.o: event.h shader.h shader_vars.h material.h |
42 |
|
|
util.o: opengl.h util.h entity.h oct.h view.h event.h shader.h shader_vars.h |
43 |
|
|
util.o: material.h |
44 |
|
|
view.o: opengl.h view.h util.h event.h shader.h shader_vars.h oct.h |
45 |
root |
1.42 |
doom3map_parser.o: entity.h opengl.h util.h oct.h view.h event.h shader.h |
46 |
|
|
doom3map_parser.o: shader_vars.h material.h |