Mercurial > hg > Game > Cerium
annotate Renderer/Test/Makefile.cell @ 904:79bde32fd578 draft
[aquarium] Makefile update
author | kazz |
---|---|
date | Sat, 17 Jul 2010 15:09:48 +0900 |
parents | b662e9dd26b0 |
children | 8e35f32c6ed1 |
rev | line source |
---|---|
555 | 1 include ./Makefile.def |
2 | |
556 | 3 LIBS += -lCerium -lCellManager -lspe2 -lpthread |
555 | 4 |
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` | |
556 | 6 LIBS += `sdl-config --libs` -lSDL_image -lGL `xml2-config --libs` |
7 | |
555 | 8 |
904 | 9 .SUFFIXES: .proto .pb.o .pb.cc .cc .o .xml .xml.h .xml.cc |
555 | 10 |
11 .cc.o: | |
12 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
13 | |
904 | 14 %.pb.cc: $(PROTODIR)/%.proto |
15 $(PROTO) $(PROTOFLAGS) $< | |
16 | |
17 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 aquarium init_aquarium | |
779 | 18 |
579 | 19 all: $(ALL) |
555 | 20 |
556 | 21 speobject: |
22 cd spe; $(MAKE) | |
23 | |
24 run: $(TARGET) | |
25 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
26 run-hd: $(TARGET) | |
889
5f5301028e29
minor fix. Redering Engine not worked yet.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
858
diff
changeset
|
27 sudo /usr/sbin/ps3-video-mode -v 133 |
556 | 28 sudo ./$(TARGET) -video fb -width 1920 -height 1080 -bpp 32 |
29 | |
555 | 30 |
556 | 31 spe-main: |
32 ln -s ../Engine/spe-main . | |
33 | |
564 | 34 |
35 BALL_BOUND_OBJ = ball_bound.o | |
36 ball_bound : $(BALL_BOUND_OBJ) | |
37 $(CC) -o $@ $? $(LIBS) | |
38 | |
39 BOSS_OBJ = boss1_action.o | |
40 boss1_action : $(BOSS_OBJ) | |
41 $(CC) -o $@ $? $(LIBS) | |
42 | |
43 DIRECTION_OBJ = direction.o | |
44 direction : $(DIRECTION_OBJ) | |
45 $(CC) -o $@ $? $(LIBS) | |
46 | |
47 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o | |
48 gaplant : $(GAPLAN_OBJ) | |
49 $(CC) -o $@ $? $(LIBS) | |
555 | 50 |
564 | 51 IESHOOT_OBJ = ieshoot.o |
52 ieshoot : $(IESHOOT_OBJ) | |
53 $(CC) -o $@ $? $(LIBS) | |
54 | |
55 NODE_OBJ = node.o | |
56 node : $(NODE_OBJ) | |
57 $(CC) -o $@ $? $(LIBS) | |
58 | |
59 PANEL_OBJ = panel.o | |
60 panel : $(PANEL_OBJ) | |
61 $(CC) -o $@ $? $(LIBS) | |
555 | 62 |
564 | 63 UNIV_OBJ = universe.o |
64 universe : $(UNIV_OBJ) | |
65 $(CC) -o $@ $? $(LIBS) | |
555 | 66 |
564 | 67 UNTITLED_OBJ = untitled.o |
68 untitled : $(UNTITLED_OBJ) | |
69 $(CC) -o $@ $? $(LIBS) | |
70 | |
71 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o | |
72 vacuum : $(VACUUM_OBJ) | |
73 $(CC) -o $@ $? $(LIBS) | |
555 | 74 |
578 | 75 DYNAMIC_OBJ = dynamic_create.o |
76 dynamic : $(DYNAMIC_OBJ) | |
77 $(CC) -o $@ $? $(LIBS) | |
78 | |
589 | 79 VIEWER_OBJ = viewer.o |
80 viewer : $(VIEWER_OBJ) | |
81 $(CC) -o $@ $? $(LIBS) | |
82 | |
653
7a311860a76e
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
|
83 SG_CHANGE_OBJ = SgRootChange.o |
7a311860a76e
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
|
84 SgRootChange : $(SG_CHANGE_OBJ) |
755
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
85 $(CC) -o $@ $? $(LIBS) |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
86 |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
87 PROPERTY_TEST_OBJ = property_test.o |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
88 property_test : $(PROPERTY_TEST_OBJ) |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
89 $(CC) -o $@ $? $(LIBS) |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
90 |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
91 CREATE_TASK_OBJ = create_task.o |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
92 create_task : $(CREATE_TASK_OBJ) |
8aaa29d3e874
add Test/create_task {spe, task}/Property
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
747
diff
changeset
|
93 $(CC) -o $@ $? $(LIBS) |
768
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
94 |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
95 P_UNIVERSE_OBJ = property_universe.o |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
96 property_universe : $(P_UNIVERSE_OBJ) |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
97 $(CC) -o $@ $? $(LIBS) |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
98 |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
99 CHAIN_OLD = chain_old.o |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
100 chain_old : $(CHAIN_OLD) |
06302c1dc87d
add add spe/chain_move Test/property_chain, not workd
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
755
diff
changeset
|
101 $(CC) -o $@ $? $(LIBS) |
771
0ad733bd134a
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
768
diff
changeset
|
102 |
0ad733bd134a
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
768
diff
changeset
|
103 P_CHAIN_OBJ = property_chain.o |
0ad733bd134a
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
768
diff
changeset
|
104 property_chain : $(P_CHAIN_OBJ) |
0ad733bd134a
Test/property_chain is work
hiroki@henri.cr.ie.u-ryukyu.ac.jp
parents:
768
diff
changeset
|
105 $(CC) -o $@ $? $(LIBS) |
858
9f6e29836095
Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
779
diff
changeset
|
106 |
904 | 107 AQUARIUM_OBJ = aquarium.pb.o aquarium.o |
858
9f6e29836095
Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
779
diff
changeset
|
108 aquarium : $(AQUARIUM_OBJ) |
904 | 109 $(CC) -o $@ $? $(LIBS) $(PROTOLIBS) |
858
9f6e29836095
Renderer/Test/aquarium init
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
779
diff
changeset
|
110 |
904 | 111 INIT_AQUARIUM_OBJ = aquarium.pb.o init_aquarium.o |
112 init_aquarium : $(INIT_AQUARIUM_OBJ) | |
113 $(CC) -o $@ $? $(LIBS) $(PROTOLIBS) | |
114 | |
555 | 115 debug: $(TARGET) |
116 sudo ppu-gdb ./$(TARGET) | |
117 | |
118 depend: | |
119 $(RM) depend.inc | |
120 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc | |
121 | |
122 clean: | |
123 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o | |
579 | 124 rm -f *~ \#* $(ALL) |
555 | 125 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) |
126 | |
127 -include depend.inc | |
564 | 128 |
129 |