# HG changeset patch # User Shinji KONO # Date 1256220436 -32400 # Node ID 62b5f89e3d5940fbfd7ea2447418c37f2f988dcb # Parent 338ad9c856fccd63e492f851c7e8a29d2d9f8222 for cell diff -r 338ad9c856fc -r 62b5f89e3d59 Renderer/Test/Makefile.cell --- 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 + +