Mercurial > hg > Members > kono > Cerium
annotate Renderer/Test/Makefile.cell @ 691:9d1bcc07734b
Test/SgRootChange not work
author | hiroki@localhost.localdomain |
---|---|
date | Tue, 08 Dec 2009 16:48:01 +0900 |
parents | 72d8bd31fc8c |
children | e4d2b823903c |
rev | line source |
---|---|
523 | 1 include ./Makefile.def |
2 | |
524 | 3 LIBS += -lCerium -lCellManager -lspe2 -lpthread |
523 | 4 |
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` | |
524 | 6 LIBS += `sdl-config --libs` -lSDL_image -lGL `xml2-config --libs` |
7 | |
523 | 8 |
9 .SUFFIXES: .cc .o .xml | |
10 | |
11 .cc.o: | |
12 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
13 | |
656
d0b8860c17f8
remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
589
diff
changeset
|
14 ALL = ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum dynamic viewer SgRootChange |
579 | 15 all: $(ALL) |
523 | 16 |
524 | 17 speobject: |
18 cd spe; $(MAKE) | |
19 | |
20 run: $(TARGET) | |
21 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
22 run-hd: $(TARGET) | |
691 | 23 sudo ps3-video-mode -v 133 |
524 | 24 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32 |
25 | |
523 | 26 |
524 | 27 spe-main: |
28 ln -s ../Engine/spe-main . | |
29 | |
564 | 30 |
31 BALL_BOUND_OBJ = ball_bound.o | |
32 ball_bound : $(BALL_BOUND_OBJ) | |
33 $(CC) -o $@ $? $(LIBS) | |
34 | |
35 BOSS_OBJ = boss1_action.o | |
36 boss1_action : $(BOSS_OBJ) | |
37 $(CC) -o $@ $? $(LIBS) | |
38 | |
39 DIRECTION_OBJ = direction.o | |
40 direction : $(DIRECTION_OBJ) | |
41 $(CC) -o $@ $? $(LIBS) | |
42 | |
43 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o | |
44 gaplant : $(GAPLAN_OBJ) | |
45 $(CC) -o $@ $? $(LIBS) | |
523 | 46 |
564 | 47 IESHOOT_OBJ = ieshoot.o |
48 ieshoot : $(IESHOOT_OBJ) | |
49 $(CC) -o $@ $? $(LIBS) | |
50 | |
51 NODE_OBJ = node.o | |
52 node : $(NODE_OBJ) | |
53 $(CC) -o $@ $? $(LIBS) | |
54 | |
55 PANEL_OBJ = panel.o | |
56 panel : $(PANEL_OBJ) | |
57 $(CC) -o $@ $? $(LIBS) | |
523 | 58 |
564 | 59 UNIV_OBJ = universe.o |
60 universe : $(UNIV_OBJ) | |
61 $(CC) -o $@ $? $(LIBS) | |
523 | 62 |
564 | 63 UNTITLED_OBJ = untitled.o |
64 untitled : $(UNTITLED_OBJ) | |
65 $(CC) -o $@ $? $(LIBS) | |
66 | |
67 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o | |
68 vacuum : $(VACUUM_OBJ) | |
69 $(CC) -o $@ $? $(LIBS) | |
523 | 70 |
578 | 71 DYNAMIC_OBJ = dynamic_create.o |
72 dynamic : $(DYNAMIC_OBJ) | |
73 $(CC) -o $@ $? $(LIBS) | |
74 | |
589 | 75 VIEWER_OBJ = viewer.o |
76 viewer : $(VIEWER_OBJ) | |
77 $(CC) -o $@ $? $(LIBS) | |
78 | |
656
d0b8860c17f8
remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
589
diff
changeset
|
79 SG_CHANGE_OBJ = SgRootChange.o |
d0b8860c17f8
remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
589
diff
changeset
|
80 SgRootChange : $(SG_CHANGE_OBJ) |
d0b8860c17f8
remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
589
diff
changeset
|
81 $(CC) -o $@ $? $(LIBS) |
d0b8860c17f8
remove global variable "sgroot" , add SgChange.{cc, h} SgMain.cc SgRootChange.{cc, h}
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
589
diff
changeset
|
82 |
523 | 83 debug: $(TARGET) |
84 sudo ppu-gdb ./$(TARGET) | |
85 | |
86 depend: | |
87 $(RM) depend.inc | |
88 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc | |
89 | |
90 clean: | |
91 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o | |
579 | 92 rm -f *~ \#* $(ALL) |
523 | 93 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) |
94 | |
95 -include depend.inc | |
564 | 96 |
97 |