diff Renderer/Test/Makefile.macosx @ 560:1a2f015c42b2

gaplant... how to solve scenegraph id conflict?
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 19:23:13 +0900
parents ccb33e5bcf89
children 71b3363c16bf
line wrap: on
line diff
--- a/Renderer/Test/Makefile.macosx	Thu Oct 22 19:10:03 2009 +0900
+++ b/Renderer/Test/Makefile.macosx	Thu Oct 22 19:23:13 2009 +0900
@@ -10,7 +10,7 @@
 .cc.o:
 	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
 
-all: ball_bound boss1_action direction
+all: ball_bound boss1_action direction gaplant
 
 
 BALL_BOUND_OBJ = ball_bound.o
@@ -39,6 +39,15 @@
 xml_file/direction.xml.h : $(DIRECTION_XMLS)
 	perl $(TOOL)/create_sglist.pl -o $@ $(DIRECTION_XMLS) 
 
+GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o
+GAPLAN_XML = xml_file/gap_plane_test.xml 
+GAPLAN_XMLS = $(GAPLAN_XML) xml_file/Ball.xml
+gaplant : $(GAPLAN_OBJ) xml_file/gap_plane_test.xml.o 
+	$(CC) -o $@ $?    $(LIBS)
+gaplant.cc : xml_file/gap_plane_test.xml.h
+xml_file/gap_plane_test.xml.h : $(GAPLAN_XMLS)
+	perl $(TOOL)/create_sglist.pl -o $@ $(GAPLAN_XMLS) 
+
 
 run: $(TARGET)
 	sudo ./$(TARGET) -width 576 -height 384 -bpp 32