Mercurial > hg > Members > kono > tree_dandy2
diff Makefile.ps3 @ 0:01387a2e419e
initial version
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 07 Dec 2010 15:39:45 +0900 |
parents | |
children | 3c14f64cbd31 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.ps3 Tue Dec 07 15:39:45 2010 +0900 @@ -0,0 +1,29 @@ +# Makefile to build the SDL tests + +srcdir = . + +CC = gcc +CFLAGS = -g -O2 -Wall `sdl-config --cflags` `xml2-config --cflags` +LIBS = `sdl-config --libs` -lGL -lGLU -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 + +depend: + makedepend -- $(CFLAGS) -- $(OBJS:.o=.c) +