Mercurial > hg > Members > kono > Cerium
annotate Renderer/Test/Makefile.cell @ 827:df39c170ae1d
viewer lightsysswitch fix
author | yutaka@localhost.localdomain |
---|---|
date | Tue, 25 May 2010 03:18:03 +0900 |
parents | 4455e7b0caf3 |
children | fdc24fbeaedc |
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 | |
772
e53ae444ac6f
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
769
diff
changeset
|
14 ALL = spe-main ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum dynamic viewer SgRootChange property_test create_task property_universe chain_old property_chain |
779 | 15 |
579 | 16 all: $(ALL) |
523 | 17 |
524 | 18 speobject: |
19 cd spe; $(MAKE) | |
20 | |
21 run: $(TARGET) | |
22 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
23 run-hd: $(TARGET) | |
748 | 24 sudo ps3-video-mode -v 133 |
524 | 25 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32 |
26 | |
523 | 27 |
524 | 28 spe-main: |
29 ln -s ../Engine/spe-main . | |
30 | |
564 | 31 |
32 BALL_BOUND_OBJ = ball_bound.o | |
33 ball_bound : $(BALL_BOUND_OBJ) | |
34 $(CC) -o $@ $? $(LIBS) | |
35 | |
36 BOSS_OBJ = boss1_action.o | |
37 boss1_action : $(BOSS_OBJ) | |
38 $(CC) -o $@ $? $(LIBS) | |
39 | |
40 DIRECTION_OBJ = direction.o | |
41 direction : $(DIRECTION_OBJ) | |
42 $(CC) -o $@ $? $(LIBS) | |
43 | |
44 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o | |
45 gaplant : $(GAPLAN_OBJ) | |
46 $(CC) -o $@ $? $(LIBS) | |
523 | 47 |
564 | 48 IESHOOT_OBJ = ieshoot.o |
49 ieshoot : $(IESHOOT_OBJ) | |
50 $(CC) -o $@ $? $(LIBS) | |
51 | |
52 NODE_OBJ = node.o | |
53 node : $(NODE_OBJ) | |
54 $(CC) -o $@ $? $(LIBS) | |
55 | |
56 PANEL_OBJ = panel.o | |
57 panel : $(PANEL_OBJ) | |
58 $(CC) -o $@ $? $(LIBS) | |
523 | 59 |
564 | 60 UNIV_OBJ = universe.o |
61 universe : $(UNIV_OBJ) | |
62 $(CC) -o $@ $? $(LIBS) | |
523 | 63 |
564 | 64 UNTITLED_OBJ = untitled.o |
65 untitled : $(UNTITLED_OBJ) | |
66 $(CC) -o $@ $? $(LIBS) | |
67 | |
68 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o | |
69 vacuum : $(VACUUM_OBJ) | |
70 $(CC) -o $@ $? $(LIBS) | |
523 | 71 |
578 | 72 DYNAMIC_OBJ = dynamic_create.o |
73 dynamic : $(DYNAMIC_OBJ) | |
74 $(CC) -o $@ $? $(LIBS) | |
75 | |
589 | 76 VIEWER_OBJ = viewer.o |
77 viewer : $(VIEWER_OBJ) | |
78 $(CC) -o $@ $? $(LIBS) | |
79 | |
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
|
80 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
|
81 SgRootChange : $(SG_CHANGE_OBJ) |
756
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
82 $(CC) -o $@ $? $(LIBS) |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
83 |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
84 PROPERTY_TEST_OBJ = property_test.o |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
85 property_test : $(PROPERTY_TEST_OBJ) |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
86 $(CC) -o $@ $? $(LIBS) |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
87 |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
88 CREATE_TASK_OBJ = create_task.o |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
89 create_task : $(CREATE_TASK_OBJ) |
2575791a333a
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
748
diff
changeset
|
90 $(CC) -o $@ $? $(LIBS) |
769
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
91 |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
92 P_UNIVERSE_OBJ = property_universe.o |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
93 property_universe : $(P_UNIVERSE_OBJ) |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
94 $(CC) -o $@ $? $(LIBS) |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
95 |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
96 CHAIN_OLD = chain_old.o |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
97 chain_old : $(CHAIN_OLD) |
2a00c1f470b7
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
756
diff
changeset
|
98 $(CC) -o $@ $? $(LIBS) |
772
e53ae444ac6f
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
769
diff
changeset
|
99 |
e53ae444ac6f
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
769
diff
changeset
|
100 P_CHAIN_OBJ = property_chain.o |
e53ae444ac6f
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
769
diff
changeset
|
101 property_chain : $(P_CHAIN_OBJ) |
e53ae444ac6f
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
769
diff
changeset
|
102 $(CC) -o $@ $? $(LIBS) |
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
|
103 |
523 | 104 debug: $(TARGET) |
105 sudo ppu-gdb ./$(TARGET) | |
106 | |
107 depend: | |
108 $(RM) depend.inc | |
109 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc | |
110 | |
111 clean: | |
112 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o | |
579 | 113 rm -f *~ \#* $(ALL) |
523 | 114 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) |
115 | |
116 -include depend.inc | |
564 | 117 |
118 |