Mercurial > hg > Members > koba > t_dandy
diff Makefile.demo @ 0:435ac1cdb64e
create task dandy directry.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 11 Dec 2010 21:25:28 +0900 |
parents | |
children | 927401604461 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.demo Sat Dec 11 21:25:28 2010 +0900 @@ -0,0 +1,25 @@ +# Makefile to build the SDL tests + +srcdir = . + +CC = gcc +CFLAGS = -g -O2 -Wall `sdl-config --cflags` `xml2-config --cflags` +LIBS = `sdl-config --libs`,-framework,OpenGL -lSDL_mixer -lSDL_image `xml2-config --libs` +TARGET = demo +OBJS = sankaku.o sgoex.o Character.o Bom.o tokuten.o collision.o count2.o Character_state.o schedule3.o tama2.o syokika.o Ss.o sound.o main.o profile.o debug.o trace.o LoadSprite.o xml.o b64_de.o tree_controll.o object.o sys.o #back.o + +all: $(TARGET) + +test: $(TARGET) + ./$(TARGET) -test + +$(TARGET): $(OBJS) + $(CC) -o $@ $(OBJS) $(LIBS) + +clean: + rm -f $(TARGET) $(OBJS) + +.c.o: + $(CC) $(CFLAGS) $(INCLUDES) -c $< + +debug.o:debug.h \ No newline at end of file