Mercurial > hg > old > magoroku_racing.bad
comparison Makefile~ @ 132:d84ee8b2cfd9
camera position update
author | Takao YONAMINE <e095763@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 21 Jul 2011 17:25:59 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
130:586d68c42c5d | 132:d84ee8b2cfd9 |
---|---|
1 # Makefile to build the SDL tests | |
2 include ./Makefile.def | |
3 | |
4 srcdir = . | |
5 ABI = -m$(ABIBIT) | |
6 | |
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 getStrFromFile.cc | |
8 | |
9 | |
10 #CFLAGS += -DINVISIBLE_MODE -g $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE) | |
11 CFLAGS += -DINVISIBLE_MODE -g -O0 $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` `freetype-config --cflags` $(INCLUDE) | |
12 LIBS += `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` `freetype-config --libs` | |
13 LIBS += -lCerium -lFifoManager | |
14 | |
15 TARGET = magoroku #dandy test1 | |
16 | |
17 #TEST = test_vector | |
18 | |
19 OBJS = ${SRCS:.cc=.o} | |
20 | |
21 | |
22 all: $(TARGET) #${TEST} | |
23 | |
24 magoroku: $(OBJS) Magoroku.o | |
25 $(CC) $(ABI) -o $@ $(OBJS) Magoroku.o $(LIBS) | |
26 | |
27 #${TEST}: ps2util.o test_vector.o | |
28 # ${CC} $(ABI) -o test_vector.o ps2util.o $(LIBS) | |
29 # $(CC) -o test_vector.o | |
30 # ${CC} -o ${TEST} $^ | |
31 | |
32 | |
33 clean: | |
34 rm -f $(TARGET) $(OBJS) main.o sgoex.o Magoroku.o Test.o | |
35 | |
36 .c.o: | |
37 $(CC) $(CFLAGS) $(INCLUDES) -c $< | |
38 | |
39 .cc.o: | |
40 $(CC) $(CFLAGS) $(INCLUDES) -c $< | |
41 | |
42 debug.o:debug.h |