diff Renderer/Test/Makefile.macosx @ 867:58d426cece23

add init_aquarium with protobuf
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Jun 2010 12:52:25 +0900
parents 8323230d766b
children e622f27c2808
line wrap: on
line diff
--- a/Renderer/Test/Makefile.macosx	Tue Jun 22 12:10:37 2010 +0900
+++ b/Renderer/Test/Makefile.macosx	Tue Jun 22 12:52:25 2010 +0900
@@ -19,7 +19,7 @@
 %.pb.cc: $(PROTODIR)/%.proto
 	$(PROTO) $(PROTOFLAGS) $<
 
-ALL =  ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum property_test send_linda dynamic writer chain_old SgRootChange viewer aquarium
+ALL =  ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum property_test send_linda dynamic writer chain_old SgRootChange viewer aquarium init_aquarium
 
 oFLAGS=-g -O2
 CFLAGt=-g -O2
@@ -97,6 +97,9 @@
 aquarium : $(AQUARIUM_OBJ)
 	$(CC) -o $@ $?    $(LIBS) $(PROTOLIBS)
 
+INIT_AQUARIUM_OBJ = aquarium.pb.o init_aquarium.o
+init_aquarium : $(INIT_AQUARIUM_OBJ)
+	$(CC) -o $@ $? $(LIBS) $(PROTOLIBS)
 
 run: $(TARGET)
 	sudo ./$(TARGET) -width 576 -height 384 -bpp 32
@@ -113,5 +116,5 @@
 	rm -f *~ \#* $(ALL)
 	rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ)
 	rm -f *.pb.{cc,h}
-	
+
 -include depend.inc