Mercurial > hg > old > magoroku_racing
view Makefile @ 134:42337585fb7c
fix merge
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 22 Jul 2011 18:32:39 +0900 |
parents | 4f50f5a3b363 |
children | 993d5f7e5f30 |
line wrap: on
line source
# Makefile to build the SDL tests include ./Makefile.def srcdir = . ABI = -m$(ABIBIT) 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 #CFLAGS += -DINVISIBLE_MODE -g $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE) CFLAGS += -DINVISIBLE_MODE -g -O0 $(ABI) -Wall `sdl-config --cflags` `xml2-config --cflags` `freetype-config --cflags` $(INCLUDE) LIBS += `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` `freetype-config --libs` LIBS += -lCerium -lFifoManager TARGET = magoroku #dandy test1 #TEST = test_vector OBJS = ${SRCS:.cc=.o} all: $(TARGET) #${TEST} magoroku: $(OBJS) Magoroku.o $(CC) $(ABI) -o $@ $(OBJS) Magoroku.o $(LIBS) #${TEST}: ps2util.o test_vector.o # ${CC} $(ABI) -o test_vector.o ps2util.o $(LIBS) # $(CC) -o test_vector.o # ${CC} -o ${TEST} $^ clean: rm -f $(TARGET) $(OBJS) main.o sgoex.o Magoroku.o Test.o .c.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< .cc.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< debug.o:debug.h