Mercurial > hg > Members > kono > Cerium
annotate Renderer/Test/Makefile.macosx @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | 32a7260fad2f |
children | f4739a3c9938 b7376415fa5f |
rev | line source |
---|---|
510 | 1 include ./Makefile.def |
2 | |
602
1733f3cbfa28
64bit mode try... not worked.
e075740@nw0740.st.ie.u-ryukyu.ac.jp
parents:
585
diff
changeset
|
3 LIBS += -lCerium -lFifoManager |
510 | 4 |
606
32a7260fad2f
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
602
diff
changeset
|
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE) |
32a7260fad2f
32bit/64bit ABI (64 bit is not tested yet).
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
602
diff
changeset
|
6 LIBS += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL |
510 | 7 |
559 | 8 .SUFFIXES: .cc .o .xml .xml.h .xml.cc |
510 | 9 |
10 .cc.o: | |
583 | 11 $(CC) $(CFLAGS) -c $< -o $@ |
510 | 12 |
585 | 13 ALL = ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum send_linda dynamic writer chain_old |
576 | 14 all: $(ALL) |
510 | 15 |
558 | 16 BALL_BOUND_OBJ = ball_bound.o |
562 | 17 ball_bound : $(BALL_BOUND_OBJ) |
18 $(CC) -o $@ $? $(LIBS) | |
510 | 19 |
558 | 20 BOSS_OBJ = boss1_action.o |
562 | 21 boss1_action : $(BOSS_OBJ) |
22 $(CC) -o $@ $? $(LIBS) | |
559 | 23 |
24 DIRECTION_OBJ = direction.o | |
562 | 25 direction : $(DIRECTION_OBJ) |
26 $(CC) -o $@ $? $(LIBS) | |
559 | 27 |
561
71b3363c16bf
gplant (not yet worked...)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
560
diff
changeset
|
28 GAPLAN_OBJ = gaplant.o gaplant_action.o back_action.o ball_action.o |
562 | 29 gaplant : $(GAPLAN_OBJ) |
560
1a2f015c42b2
gaplant... how to solve scenegraph id conflict?
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
559
diff
changeset
|
30 $(CC) -o $@ $? $(LIBS) |
1a2f015c42b2
gaplant... how to solve scenegraph id conflict?
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
559
diff
changeset
|
31 |
563
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
32 IESHOOT_OBJ = ieshoot.o |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
33 ieshoot : $(IESHOOT_OBJ) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
34 $(CC) -o $@ $? $(LIBS) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
35 |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
36 NODE_OBJ = node.o |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
37 node : $(NODE_OBJ) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
38 $(CC) -o $@ $? $(LIBS) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
39 |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
40 PANEL_OBJ = panel.o |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
41 panel : $(PANEL_OBJ) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
42 $(CC) -o $@ $? $(LIBS) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
43 |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
44 UNIV_OBJ = universe.o |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
45 universe : $(UNIV_OBJ) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
46 $(CC) -o $@ $? $(LIBS) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
47 |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
48 UNTITLED_OBJ = untitled.o |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
49 untitled : $(UNTITLED_OBJ) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
50 $(CC) -o $@ $? $(LIBS) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
51 |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
52 VACUUM_OBJ = vacuum.o cube.o game_over.o title.o |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
53 vacuum : $(VACUUM_OBJ) |
b21a013051a2
all exmple on Mac OS X
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
562
diff
changeset
|
54 $(CC) -o $@ $? $(LIBS) |
510 | 55 |
565 | 56 DYNAMIC_OBJ = dynamic_create.o |
57 dynamic : $(DYNAMIC_OBJ) | |
58 $(CC) -o $@ $? $(LIBS) | |
59 | |
60 SENDLINDA_OBJ = send_linda.o | |
61 send_linda : $(SENDLINDA_OBJ) | |
62 $(CC) -o $@ $? $(LIBS) | |
63 | |
583 | 64 WRITER_OBJ = writer.o |
65 writer : $(WRITER_OBJ) | |
66 $(CC) -o $@ $? $(LIBS) | |
67 | |
585 | 68 CHAIN_OBJ = chain_old.o |
69 chain_old : $(CHAIN_OBJ) | |
70 $(CC) -o $@ $? $(LIBS) | |
71 | |
510 | 72 run: $(TARGET) |
73 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
74 | |
75 debug: $(TARGET) | |
76 sudo ppu-gdb ./$(TARGET) | |
77 | |
78 depend: | |
79 $(RM) depend.inc | |
80 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc | |
81 | |
82 clean: | |
558 | 83 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o |
576 | 84 rm -f *~ \#* $(ALL) |
558 | 85 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) |
510 | 86 |
87 -include depend.inc |