annotate Makefile @ 113:8c96cadde050

after game_team
author Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
date Thu, 09 Jun 2011 18:07:46 +0900
parents 5106d8d12ded
children 31dd5c07f7c1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
1 # Makefile to build the SDL tests
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
2 include ./Makefile.def
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
3
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
4 srcdir = .
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
5 ABI = -m$(ABIBIT)
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
6
112
5106d8d12ded Changing Magoroku.cc
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 106
diff changeset
7 SRCS = main.cc game.cc car.cc col.cc quotanion.cc controler.cc field.cc camera.cc gSprite.cc schedule.cc mytype.cc gFont.cc carNode.cc light.cc title_scene.cc game_time.cc ps2util.cc sjoy.cc name_dictionary.cc sound.cc Ss.cc Magoroku.cc
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
8
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
9 CFLAGS += -DINVISIBLE_MODE -g $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
10 LIBS += `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs`
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
11 LIBS += -lCerium -lFifoManager
98
1033fece71ce text_vector
e085768
parents: 96
diff changeset
12
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
13 TARGET = demo #dandy test1
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
14 OBJS = ${SRCS:.cc=.o}
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
15
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
16 all: $(TARGET)
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
17
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
18 test: $(TARGET)
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
19 ./demo -test
90
8edae89a3877 compile on Mac OS X
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 56
diff changeset
20
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
21 demo: $(OBJS)
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
22 $(CC) $(ABI) -o $@ $(OBJS) $(LIBS)
2
b6a1385f19be *** empty log message ***
gongo
parents: 0
diff changeset
23
113
8c96cadde050 after game_team
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 112
diff changeset
24 magoroku: $(OBJS) Dandy.o SgoexCerium.o
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
25 $(CC) $(ABI) -o $@ $(OBJS) Dandy.o SgoexCerium.o $(LIBS)
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
26
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
27 test1: $(OBJS) Test.o SgoexCerium.o
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
28 $(CC) $(ABI) -o $@ $(OBJS) Test.o SgoexCerium.o $(LIBS)
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
29
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
30 clean:
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
31 rm -f $(TARGET) $(OBJS) #main.o sgoex.o Dandy.o SgoexCerium.o Test.o
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
32
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
33 .c.o:
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
34 $(CC) $(CFLAGS) $(INCLUDES) -c $<
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
35
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
36 .cc.o:
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
37 $(CC) $(CFLAGS) $(INCLUDES) -c $<
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
38
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
39 debug.o:debug.h