--- libgender/Makefile 2004/10/10 00:22:49 1.24 +++ libgender/Makefile 2004/10/28 17:00:46 1.34 @@ -1,11 +1,11 @@ -CXX=g++ -O0 -CC=g++ -O -CPPFLAGS=$(shell sdl-config --cflags) -LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lCg -lCgGL -lGLU -lglut +CXX=g++ -O6 +CC=$(CXX) +CPPFLAGS=$(shell sdl-config --cflags) -DDEBUG +LDLIBS=$(shell sdl-config --libs) -lSDL_image -lGL -lCg -lCgGL -lGLU all: test -test: test.o entity.o oct.o view.o txtprt_import.o util.o level1.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,10 +15,15 @@ # DO NOT DELETE -entity.o: util.h gldebug.h entity.h oct.h view.h event.h -oct.o: oct.h util.h gldebug.h view.h event.h entity.h -test.o: util.h gldebug.h entity.h oct.h view.h event.h txtprt_import.h -txtprt_import.o: txtprt_import.h entity.h util.h gldebug.h oct.h view.h -txtprt_import.o: event.h -util.o: util.h gldebug.h entity.h oct.h view.h event.h -view.o: view.h util.h gldebug.h event.h oct.h +entity.o: opengl.h util.h entity.h oct.h view.h event.h material.h +level1.o: entity.h opengl.h util.h oct.h view.h event.h material.h +material.o: opengl.h material.h util.h +oct.o: opengl.h oct.h util.h view.h event.h entity.h material.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 +test.o: txtprt_import.h shader.h +txtprt_import.o: txtprt_import.h entity.h opengl.h util.h oct.h view.h +txtprt_import.o: event.h material.h +util.o: opengl.h util.h entity.h oct.h view.h event.h material.h +view.o: opengl.h view.h util.h event.h oct.h