Mercurial > hg > old > magoroku_racing
view Makefile @ 122:5219bf3d5e71
title_draw
author | e085768 |
---|---|
date | Mon, 27 Jun 2011 19:44:46 +0900 |
parents | ed702e49cc6c |
children | 6ef3b0efdeaf |
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 #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` $(INCLUDE) LIBS += `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` LIBS += -lCerium -lFifoManager TARGET = magoroku #dandy test1 OBJS = ${SRCS:.cc=.o} all: $(TARGET) magoroku: $(OBJS) Magoroku.o $(CC) $(ABI) -o $@ $(OBJS) Magoroku.o $(LIBS) clean: rm -f $(TARGET) $(OBJS) main.o sgoex.o Magoroku.o SgoexCerium.o Test.o .c.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< .cc.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< debug.o:debug.h