Mercurial > hg > Members > koba > t_dandy
view Makefile.mac @ 55:2c33aa6a4a37
debug global_alloc.but new bugs appear
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 28 Jan 2011 19:05:00 +0900 |
parents | b31bed246abd |
children |
line wrap: on
line source
# Makefile to build the SDL tests include ./Makefile.def TARGET = demo dandy t_dandy OBJS = Character.o Bom.o tokuten.o count2.o schedule3.o tama2.o syokika.o Ss.o sound.o profile.o debug.o trace.o LoadSprite.o xml.o b64_de.o tree_controll.o object.o sys.o StateList.o Cheat.o TASK_DIR = ppe TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc) TASK_SRCS_EXCLUDE = TASK_SRCS = $(filter-out $(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) TASK_OBJS = $(TASK_SRCS:.cc=.o) CFLAGS += `sdl-config --cflags` `xml2-config --cflags` $(INCLUDE) LIBS += `sdl-config --libs` -framework OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` LIBS += -lCerium -lFifoManager all: $(TARGET) test: $(TARGET) ./demo -test demo: $(OBJS) main.o collision.o Character_state.o sgoex.o $(CC) $(OPT) $(ABI) -o $@ $? $(LIBS) dandy: $(OBJS) Dandy.o collision.o Character_state.o $(CC) $(OPT) $(ABI) -o $@ $? $(LIBS) t_dandy: $(OBJS) TaskDandy.o collision_task.o state_task.o $(TASK_OBJS) $(CC) $(OPT) $(ABI) -o $@ $? $(LIBS) clean: rm -f $(TARGET) $(OBJS) $(TASK_OBJS) Dandy.o TaskDandy.o main.o Character_state.o collision_task.o state_task.o sgoex.o .c.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ .cc.o: $(CC) $(CFLAGS) $(INCLUDES) -c $< -o $@ debug.o:debug.h