changeset 564:f7ec374fc093

for cell
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 23:07:16 +0900
parents b21a013051a2
children 2e1b6c5e4f8f
files Renderer/Test/Makefile.cell
diffstat 1 files changed, 40 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/Renderer/Test/Makefile.cell	Thu Oct 22 23:05:16 2009 +0900
+++ b/Renderer/Test/Makefile.cell	Thu Oct 22 23:07:16 2009 +0900
@@ -11,10 +11,7 @@
 .cc.o:
 	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
 
-all: ball_bound spe-main
-
-cell:
-	make -f Makefile.cell
+all: ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum
 
 speobject:
 	cd spe; $(MAKE)
@@ -25,20 +22,50 @@
 	sudo /usr/sbin/ps3-video-mode -v 133
 	sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32
 
-BALL_BOUND_OBJ = ball_bound.o
-BALL_BOUND_XML = xml_file/Ball.xml
 
 spe-main:
 	ln -s ../Engine/spe-main .
 
-ball_bound : $(BALL_BOUND_OBJ) $(BALL_BOUND_XML).o 
-	$(CC) -o $@ $< $(BALL_BOUND_XML).o  $(LIBS)
+
+BALL_BOUND_OBJ = ball_bound.o
+ball_bound : $(BALL_BOUND_OBJ) 
+	$(CC) -o $@ $?   $(LIBS)
+
+BOSS_OBJ = boss1_action.o
+boss1_action : $(BOSS_OBJ) 
+	$(CC) -o $@ $?   $(LIBS)
+
+DIRECTION_OBJ = direction.o
+direction : $(DIRECTION_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
+
+GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o
+gaplant : $(GAPLAN_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
 
-ball_bound.cc : $(BALL_BOUND_XML).h 
+IESHOOT_OBJ = ieshoot.o
+ieshoot : $(IESHOOT_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
+
+NODE_OBJ = node.o
+node : $(NODE_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
+
+PANEL_OBJ = panel.o
+panel : $(PANEL_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
 
-$(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h : $(BALL_BOUND_XML)
-	perl $(TOOL)/create_sglist.pl -o $@ $(BALL_BOUND_XML)
+UNIV_OBJ = universe.o
+universe : $(UNIV_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
 
+UNTITLED_OBJ = untitled.o
+untitled : $(UNTITLED_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
+
+VACUUM_OBJ = vacuum.o cube.o game_over.o title.o
+vacuum : $(VACUUM_OBJ) 
+	$(CC) -o $@ $?    $(LIBS)
 
 debug: $(TARGET)
 	sudo ppu-gdb ./$(TARGET) 
@@ -53,3 +80,5 @@
 	rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ)
 
 -include depend.inc
+
+