annotate Makefile @ 122:5219bf3d5e71

title_draw
author e085768
date Mon, 27 Jun 2011 19:44:46 +0900
parents ed702e49cc6c
children 6ef3b0efdeaf
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
116
ed702e49cc6c conpile
e085768
parents: 115
diff changeset
7 SRCS = 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
ed702e49cc6c conpile
e085768
parents: 115
diff changeset
8
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
9
116
ed702e49cc6c conpile
e085768
parents: 115
diff changeset
10 #CFLAGS += -DINVISIBLE_MODE -g $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
ed702e49cc6c conpile
e085768
parents: 115
diff changeset
11 CFLAGS += -DINVISIBLE_MODE -g -O0 $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE)
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
12 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
13 LIBS += -lCerium -lFifoManager
98
1033fece71ce text_vector
e085768
parents: 96
diff changeset
14
115
31dd5c07f7c1 class OBJECT:SceanGraph
e085768
parents: 113
diff changeset
15 TARGET = magoroku #dandy test1
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
16 OBJS = ${SRCS:.cc=.o}
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 all: $(TARGET)
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
19
116
ed702e49cc6c conpile
e085768
parents: 115
diff changeset
20 magoroku: $(OBJS) Magoroku.o
ed702e49cc6c conpile
e085768
parents: 115
diff changeset
21 $(CC) $(ABI) -o $@ $(OBJS) Magoroku.o $(LIBS)
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
22
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
23 clean:
115
31dd5c07f7c1 class OBJECT:SceanGraph
e085768
parents: 113
diff changeset
24 rm -f $(TARGET) $(OBJS) main.o sgoex.o Magoroku.o SgoexCerium.o Test.o
0
0fae5658fb0b Initial revision
gongo
parents:
diff changeset
25
106
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
26 .c.o:
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
27 $(CC) $(CFLAGS) $(INCLUDES) -c $<
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
28
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
29 .cc.o:
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
30 $(CC) $(CFLAGS) $(INCLUDES) -c $<
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
31
0c4b7d74e292 add Magoroku.cc & .h (Dandy.cc & .h)
Atuto SHIROMA <e095729@ie.u-ryukyu.ac.jp>
parents: 101
diff changeset
32 debug.o:debug.h