comparison Makefile @ 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 b4c797eee72a
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 `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
8 LIBS += `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs`
9 LIBS += -lCerium -lFifoManager
10
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
13
14 all: $(TARGET)
15
16 test: $(TARGET)
17 ./demo -test
18
19 demo: $(OBJS) sgoex.o main.o
20 $(CC) $(ABI) -o $@ main.o sgoex.o $(OBJS) $(LIBS)
21
22 dandy: $(OBJS) Dandy.o
23 $(CC) $(ABI) -o $@ $(OBJS) Dandy.o $(LIBS)
24
25 clean:
26 rm -f $(TARGET) $(OBJS)
27
28 .c.o:
29 $(CC) $(CFLAGS) $(INCLUDES) -c $<
30
31 .cc.o:
32 $(CC) $(CFLAGS) $(INCLUDES) -c $<
33
34 debug.o:debug.h