CXX=g++ -O0 -ggdb CC=$(CXX) CXXFLAGS=$(shell sdl-config --cflags) -DDEBUG LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lGLU all: test 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 y.tab.o: y.tab.c lex.yy.c lex.yy.c: doom3map_lexer.l y.tab.h lex $< y.tab.h: y.tab.c y.tab.c: doom3map_parser.y yacc -d $< clean: rm -f test *.o depend: makedepend -Y *.C >/dev/null 2>&1 # DO NOT DELETE entity.o: opengl.h util.h entity.h oct.h view.h event.h material.h shader.h entity.o: shader_vars.h level1.o: entity.h opengl.h util.h oct.h view.h event.h material.h shader.h level1.o: shader_vars.h material.o: opengl.h material.h util.h shader.h shader_vars.h view.h event.h oct.o: opengl.h oct.h util.h view.h event.h entity.h material.h shader.h oct.o: shader_vars.h shader.o: shader.h opengl.h util.h shader_vars.h shader_vars.o: shader_vars.h shader.h opengl.h util.h test.o: opengl.h util.h entity.h oct.h view.h event.h material.h shader.h test.o: shader_vars.h txtprt_import.h txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h txtprt_import.o: event.h material.h shader.h shader_vars.h util.o: opengl.h util.h entity.h oct.h view.h event.h material.h shader.h util.o: shader_vars.h view.o: opengl.h view.h util.h event.h oct.h x.o: shader.h opengl.h util.h shader_vars.h