comparison Makefile.ps3 @ 0:435ac1cdb64e

create task dandy directry.
author koba <koba@cr.ie.u-ryukyu.ac.jp>
date Sat, 11 Dec 2010 21:25:28 +0900
parents
children 5e10d43156bd
comparison
equal deleted inserted replaced
-1:000000000000 0:435ac1cdb64e
1 # Makefile to build the SDL tests
2 include ./Makefile.def
3
4 srcdir = .
5 ABI = -m32
6
7 CFLAGS += -g $(ABI) -O2 -Wall `/usr/bin/sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
8 LIBS += `/usr/bin/sdl-config --libs` -lGL -lGLU -lSDL_mixer -lSDL_image `xml2-config --libs`
9 LIBS += -lCerium -lCellManager -lspe2
10
11
12 TARGET = demo dandy
13 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
14
15 all: $(TARGET)
16
17 test: $(TARGET)
18 ./demo -test
19
20 demo: $(OBJS) sgoex.o main.o
21 $(CC) $(ABI) -o $@ main.o sgoex.o $(OBJS) $(LIBS)
22
23 dandy: $(OBJS) Dandy.o
24 $(CC) $(ABI) -o $@ $(OBJS) Dandy.o $(LIBS)
25
26 clean:
27 rm -f $(TARGET) $(OBJS)
28
29 .c.o:
30 $(CC) $(CFLAGS) $(INCLUDES) -c $<
31
32 .cc.o:
33 $(CC) $(CFLAGS) $(INCLUDES) -c $<
34
35 debug.o:debug.h