diff -r 7e258561a690 -r d0d76e8a5203 ccdemos/Makefile --- a/ccdemos/Makefile Tue Dec 04 08:58:05 2007 +0100 +++ b/ccdemos/Makefile Wed Dec 05 18:54:23 2007 +0100 @@ -6,11 +6,14 @@ ### Targets ### -all: realtime spheres_shadow +all: realtime realtime_dragon spheres_shadow realtime: realtime.o libs-double $(CXX) -o $@ $(ROOT)/bin/libs-double/*.o $< $(LDFLAGS) $(SDL_LDFLAGS) +realtime_dragon: realtime_dragon.o libs-double + $(CXX) -o $@ $(ROOT)/bin/libs-double/*.o $< $(LDFLAGS) $(SDL_LDFLAGS) + spheres_shadow: spheres_shadow.o image.o libs-float $(CXX) -o $@ $(ROOT)/bin/libs-float/*.o $< image.o $(LDFLAGS) -lpng @@ -23,6 +26,9 @@ realtime.o: realtime.cc $(CXX) -c -o $@ $(CCFLAGS) $(SDL_CCFLAGS) $< $(DEFS) -DPYRIT_DOUBLE +realtime_dragon.o: realtime_dragon.cc + $(CXX) -c -o $@ $(CCFLAGS) $(SDL_CCFLAGS) $< $(DEFS) -DPYRIT_DOUBLE + image.o: image.c $(CXX) -c -o $@ $*.c