Mercurial > hg > Members > kono > Cerium
annotate Renderer/Test/Makefile.macosx @ 562:a5fda4e51498
name search
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 22 Oct 2009 22:22:31 +0900 |
parents | 71b3363c16bf |
children | b21a013051a2 |
rev | line source |
---|---|
510 | 1 include ./Makefile.def |
2 | |
558 | 3 LIBS += -lFifoManager -lCerium |
510 | 4 |
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` | |
6 LIBS += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL | |
7 | |
559 | 8 .SUFFIXES: .cc .o .xml .xml.h .xml.cc |
510 | 9 |
10 .cc.o: | |
11 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | |
12 | |
560
1a2f015c42b2
gaplant... how to solve scenegraph id conflict?
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
559
diff
changeset
|
13 all: ball_bound boss1_action direction gaplant |
510 | 14 |
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 |
510 | 32 |
33 run: $(TARGET) | |
34 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | |
35 | |
36 debug: $(TARGET) | |
37 sudo ppu-gdb ./$(TARGET) | |
38 | |
39 depend: | |
40 $(RM) depend.inc | |
41 $(CC) -MM -MG $(INCLUDE) $(CFLAGS) $(SRCS) $(TASK_SRCS) > depend.inc | |
42 | |
43 clean: | |
558 | 44 rm -f $(TARGET) $(OBJS) $(TASK_OBJS) *.o |
510 | 45 rm -f *~ \#* |
558 | 46 rm -f $(BALL_BOUND_XML).cc $(BALL_BOUND_XML).h $(BALL_BOUND_OBJ) |
510 | 47 |
48 -include depend.inc |