--- libgender/Makefile 2004/10/11 00:05:48 1.29 +++ libgender/Makefile 2004/10/29 23:19:08 1.36 @@ -1,11 +1,11 @@ CXX=g++ -O6 -CC=g++ -O -CPPFLAGS=$(shell sdl-config --cflags) -LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lCg -lCgGL -lGLU +CC=$(CXX) +CPPFLAGS=$(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 +test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.o material.o shader.o shader_vars.o clean: rm -f test *.o @@ -15,13 +15,20 @@ # DO NOT DELETE -entity.o: opengl.h gldebug.h util.h entity.h oct.h view.h event.h material.h -level1.o: entity.h opengl.h gldebug.h util.h oct.h view.h event.h material.h -material.o: opengl.h gldebug.h material.h util.h -oct.o: opengl.h gldebug.h oct.h util.h view.h event.h entity.h material.h -test.o: util.h opengl.h gldebug.h entity.h oct.h view.h event.h material.h -test.o: txtprt_import.h -txtprt_import.o: txtprt_import.h entity.h opengl.h gldebug.h util.h oct.h -txtprt_import.o: view.h event.h material.h -util.o: opengl.h gldebug.h util.h entity.h oct.h view.h event.h material.h -view.o: opengl.h gldebug.h view.h util.h event.h oct.h +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