--- a/ccdemos/Makefile Tue Dec 18 12:36:01 2007 +0100
+++ b/ccdemos/Makefile Sat Dec 29 13:53:33 2007 +0100
@@ -21,17 +21,19 @@
$(CXX) -o $@ $(ROOT)/bin/$(RTLIBS)/*.o $< image.o $(LDFLAGS) $(SDL_LDFLAGS) -lpng
### Targets ###
-all: realtime realtime_dragon realtime_bunny spheres_shadow
+all: realtime realtime_dragon realtime_bunny spheres_shadow textures
realtime: realtime.o $(RTLIBS) image.o
realtime_dragon: realtime_dragon.o $(RTLIBS) image.o
realtime_bunny: realtime_bunny.o $(RTLIBS) image.o
spheres_shadow: spheres_shadow.o $(RTLIBS) image.o
+textures: textures.o $(RTLIBS) image.o
realtime.o: realtime.cc common_sdl.h
realtime_dragon.o: realtime_dragon.cc common_sdl.h common_ply.h
realtime_bunny.o: realtime_bunny.cc common_sdl.h common_ply.h
spheres_shadow.o: spheres_shadow.cc common_sdl.h
+textures.o: textures.cc common_sdl.h
libs-float:
$(MAKE) -C ../src libs-float
@@ -43,7 +45,7 @@
$(CXX) -c -o $@ $*.c
clean:
- rm -f spheres_shadow realtime realtime_dragon realtime_bunny *.o
+ rm -f realtime realtime_dragon realtime_bunny spheres_shadow textures *.o
distclean: clean
rm -rf *.png