Mercurial > hg > Members > kono > tree_dandy2
comparison Makefile.mac @ 17:3c14f64cbd31
compile on ps3
author | tkaito@henri |
---|---|
date | Tue, 07 Dec 2010 19:06:36 +0900 |
parents | c95b185b4c33 |
children | 3b92a4b17049 |
comparison
equal
deleted
inserted
replaced
15:b0f057171e18 | 17:3c14f64cbd31 |
---|---|
1 # Makefile to build the SDL tests | 1 # Makefile to build the SDL tests |
2 include ./Makefile.def | |
2 | 3 |
3 srcdir = . | 4 srcdir = . |
5 ABI = -m32 | |
4 | 6 |
5 CC = gcc | 7 CFLAGS += -g $(ABI) -O2 -Wall `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE) |
6 CFLAGS = -g -m32 -O2 -Wall `sdl-config --cflags` | 8 LIBS += `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` |
7 LIBS = `sdl-config --libs`,-framework,OpenGL -lSDL_mixer | 9 LIBS += -lCerium -lFifoManager |
8 TARGET = my_dandy | 10 |
9 OBJS = sgoex.o Enemy.o bom.o tokuten.o atari.o count2.o move.o schedule.o tama.o syokika.o Ss.o sound.o main.o profile.o debug.o trace.o LoadSprite.o #back.o | 11 TARGET = demo dandy |
12 OBJS = Character.o Bom.o tokuten.o collision.o count2.o Character_state.o schedule3.o tama2.o syokika.o Ss.o sound.o profile.o debug.o trace.o LoadSprite.o xml.o b64_de.o tree_controll.o object.o sys.o | |
10 | 13 |
11 all: $(TARGET) | 14 all: $(TARGET) |
12 | 15 |
13 test: $(TARGET) | 16 test: $(TARGET) |
14 ./$(TARGET) -test | 17 ./demo -test |
15 | 18 |
16 $(TARGET): $(OBJS) | 19 demo: $(OBJS) sgoex.o main.o |
17 $(CC) -o $@ $(OBJS) $(LIBS) | 20 $(CC) $(ABI) -o $@ main.o sgoex.o $(OBJS) $(LIBS) |
21 | |
22 dandy: $(OBJS) Dandy.o | |
23 $(CC) $(ABI) -o $@ $(OBJS) Dandy.o $(LIBS) | |
18 | 24 |
19 clean: | 25 clean: |
20 rm -f $(TARGET) $(OBJS) | 26 rm -f $(TARGET) $(OBJS) |
21 | 27 |
22 .c.o: | 28 .c.o: |
23 $(CC) $(CFLAGS) $(INCLUDES) -c $< | 29 $(CC) $(CFLAGS) $(INCLUDES) -c $< |
24 | 30 |
31 .cc.o: | |
32 $(CC) $(CFLAGS) $(INCLUDES) -c $< | |
33 | |
25 debug.o:debug.h | 34 debug.o:debug.h |