Mercurial > hg > Members > koba > t_dandy
view Makefile.demo @ 27:871f7d9a2f35
running.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 27 Dec 2010 17:21:24 +0900 |
parents | 927401604461 |
children | 2c85322348cf |
line wrap: on
line source
# 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 = 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