Mercurial > hg > Members > kono > tree_dandy2
diff Makefile.fifo64 @ 22:dc3b1d4fe835
64bit version fix.
author | tkaito |
---|---|
date | Mon, 13 Dec 2010 18:18:06 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.fifo64 Mon Dec 13 18:18:06 2010 +0900 @@ -0,0 +1,34 @@ +# Makefile to build the SDL tests +include ./Makefile.def + +srcdir = . +ABI = -m64 + +CFLAGS += -g $(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 = demo dandy +OBJS = Character.o Bom.o tokuten.o collision.o count2.o Character_state.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 + +all: $(TARGET) + +test: $(TARGET) + ./demo -test + +demo: $(OBJS) sgoex.o main.o + $(CC) $(ABI) -o $@ main.o sgoex.o $(OBJS) $(LIBS) + +dandy: $(OBJS) Dandy.o + $(CC) $(ABI) -o $@ $(OBJS) Dandy.o $(LIBS) + +clean: + rm -f $(TARGET) $(OBJS) + +.c.o: + $(CC) $(CFLAGS) $(INCLUDES) -c $< + +.cc.o: + $(CC) $(CFLAGS) $(INCLUDES) -c $< + +debug.o:debug.h