ccdemos/Makefile
branchpyrit
changeset 29 574c34441a1c
parent 25 b8232edee786
child 39 7079dcc3bd74
--- a/ccdemos/Makefile	Sat Dec 08 12:37:45 2007 +0100
+++ b/ccdemos/Makefile	Sat Dec 08 14:07:42 2007 +0100
@@ -6,7 +6,7 @@
 
 
 ### Targets ###
-all: realtime realtime_dragon spheres_shadow
+all: realtime realtime_dragon realtime_bunny spheres_shadow
 
 realtime: realtime.o libs-double
 	$(CXX) -o $@ $(ROOT)/bin/libs-double/*.o $< $(LDFLAGS) $(SDL_LDFLAGS)
@@ -14,6 +14,9 @@
 realtime_dragon: realtime_dragon.o libs-double
 	$(CXX) -o $@ $(ROOT)/bin/libs-double/*.o $< $(LDFLAGS) $(SDL_LDFLAGS)
 
+realtime_bunny: realtime_bunny.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
 
@@ -29,6 +32,9 @@
 realtime_dragon.o: realtime_dragon.cc
 	$(CXX) -c -o $@ $(CCFLAGS) $(SDL_CCFLAGS) $< $(DEFS) -DPYRIT_DOUBLE
 
+realtime_bunny.o: realtime_bunny.cc
+	$(CXX) -c -o $@ $(CCFLAGS) $(SDL_CCFLAGS) $< $(DEFS) -DPYRIT_DOUBLE
+
 image.o: image.c
 	$(CXX) -c -o $@ $*.c
 
@@ -36,4 +42,4 @@
 	$(CXX) -c -o $@ $*.cc $(CCFLAGS) $(DEFS)
 
 clean:
-	rm -f spheres_shadow realtime realtime_dragon *.o
+	rm -f spheres_shadow realtime realtime_dragon realtime_bunny *.o