comparison Renderer/Test/Makefile.cell @ 564:62b5f89e3d59 draft

for cell
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 23:07:16 +0900
parents 12135dde3b87
children 3d998f5d49a6
comparison
equal deleted inserted replaced
563:338ad9c856fc 564:62b5f89e3d59
9 .SUFFIXES: .cc .o .xml 9 .SUFFIXES: .cc .o .xml
10 10
11 .cc.o: 11 .cc.o:
12 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ 12 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@
13 13
14 all: ball_bound spe-main 14 all: ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum
15
16 cell:
17 make -f Makefile.cell
18 15
19 speobject: 16 speobject:
20 cd spe; $(MAKE) 17 cd spe; $(MAKE)
21 18
22 run: $(TARGET) 19 run: $(TARGET)
23 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 20 sudo ./$(TARGET) -width 576 -height 384 -bpp 32
24 run-hd: $(TARGET) 21 run-hd: $(TARGET)
25 sudo /usr/sbin/ps3-video-mode -v 133 22 sudo /usr/sbin/ps3-video-mode -v 133
26 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32 23 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32
27 24
28 BALL_BOUND_OBJ = ball_bound.o
29 BALL_BOUND_XML = xml_file/Ball.xml
30 25
31 spe-main: 26 spe-main:
32 ln -s ../Engine/spe-main . 27 ln -s ../Engine/spe-main .
33 28
34 ball_bound : $(BALL_BOUND_OBJ) $(BALL_BOUND_XML).o
35 $(CC) -o $@ $< $(BALL_BOUND_XML).o $(LIBS)
36 29
37 ball_bound.cc : $(BALL_BOUND_XML).h 30 BALL_BOUND_OBJ = ball_bound.o
31 ball_bound : $(BALL_BOUND_OBJ)
32 $(CC) -o $@ $? $(LIBS)
38 33
39 $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h : $(BALL_BOUND_XML) 34 BOSS_OBJ = boss1_action.o
40 perl $(TOOL)/create_sglist.pl -o $@ $(BALL_BOUND_XML) 35 boss1_action : $(BOSS_OBJ)
36 $(CC) -o $@ $? $(LIBS)
41 37
38 DIRECTION_OBJ = direction.o
39 direction : $(DIRECTION_OBJ)
40 $(CC) -o $@ $? $(LIBS)
41
42 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o
43 gaplant : $(GAPLAN_OBJ)
44 $(CC) -o $@ $? $(LIBS)
45
46 IESHOOT_OBJ = ieshoot.o
47 ieshoot : $(IESHOOT_OBJ)
48 $(CC) -o $@ $? $(LIBS)
49
50 NODE_OBJ = node.o
51 node : $(NODE_OBJ)
52 $(CC) -o $@ $? $(LIBS)
53
54 PANEL_OBJ = panel.o
55 panel : $(PANEL_OBJ)
56 $(CC) -o $@ $? $(LIBS)
57
58 UNIV_OBJ = universe.o
59 universe : $(UNIV_OBJ)
60 $(CC) -o $@ $? $(LIBS)
61
62 UNTITLED_OBJ = untitled.o
63 untitled : $(UNTITLED_OBJ)
64 $(CC) -o $@ $? $(LIBS)
65
66 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o
67 vacuum : $(VACUUM_OBJ)
68 $(CC) -o $@ $? $(LIBS)
42 69
43 debug: $(TARGET) 70 debug: $(TARGET)
44 sudo ppu-gdb ./$(TARGET) 71 sudo ppu-gdb ./$(TARGET)
45 72
46 depend: 73 depend:
51 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o 78 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o
52 rm -f *~ \#* 79 rm -f *~ \#*
53 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) 80 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ)
54 81
55 -include depend.inc 82 -include depend.inc
83
84