Mercurial > hg > Members > kono > Cerium
comparison Renderer/Test/Makefile.macosx @ 583:530d189ebf1a
add writer
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 25 Oct 2009 20:11:38 +0900 |
parents | cc989924f469 |
children | 987380738a50 |
comparison
equal
deleted
inserted
replaced
582:ea03c178fc30 | 583:530d189ebf1a |
---|---|
1 include ./Makefile.def | 1 include ./Makefile.def |
2 | 2 |
3 LIBS += -lFifoManager -lCerium | 3 LIBS += -lFifoManager -lCerium |
4 | 4 |
5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` | 5 CFLAGS += `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE) |
6 LIBS += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL | 6 LIBS += `sdl-config --libs` `xml2-config --libs` -lSDL_image -Wl,-framework,OpenGL |
7 | 7 |
8 .SUFFIXES: .cc .o .xml .xml.h .xml.cc | 8 .SUFFIXES: .cc .o .xml .xml.h .xml.cc |
9 | 9 |
10 .cc.o: | 10 .cc.o: |
11 $(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@ | 11 $(CC) $(CFLAGS) -c $< -o $@ |
12 | 12 |
13 ALL = ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum send_linda dynamic | 13 ALL = ball_bound boss1_action direction gaplant ieshoot node panel universe untitled vacuum send_linda dynamic writer |
14 all: $(ALL) | 14 all: $(ALL) |
15 | 15 |
16 BALL_BOUND_OBJ = ball_bound.o | 16 BALL_BOUND_OBJ = ball_bound.o |
17 ball_bound : $(BALL_BOUND_OBJ) | 17 ball_bound : $(BALL_BOUND_OBJ) |
18 $(CC) -o $@ $? $(LIBS) | 18 $(CC) -o $@ $? $(LIBS) |
59 | 59 |
60 SENDLINDA_OBJ = send_linda.o | 60 SENDLINDA_OBJ = send_linda.o |
61 send_linda : $(SENDLINDA_OBJ) | 61 send_linda : $(SENDLINDA_OBJ) |
62 $(CC) -o $@ $? $(LIBS) | 62 $(CC) -o $@ $? $(LIBS) |
63 | 63 |
64 WRITER_OBJ = writer.o | |
65 writer : $(WRITER_OBJ) | |
66 $(CC) -o $@ $? $(LIBS) | |
67 | |
64 run: $(TARGET) | 68 run: $(TARGET) |
65 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 | 69 sudo ./$(TARGET) -width 576 -height 384 -bpp 32 |
66 | 70 |
67 debug: $(TARGET) | 71 debug: $(TARGET) |
68 sudo ppu-gdb ./$(TARGET) | 72 sudo ppu-gdb ./$(TARGET) |