Mercurial > hg > Members > kono > tree_dandy2
diff Makefile.mac @ 0:01387a2e419e
initial version
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 07 Dec 2010 15:39:45 +0900 |
parents | |
children | c95b185b4c33 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile.mac Tue Dec 07 15:39:45 2010 +0900 @@ -0,0 +1,25 @@ +# Makefile to build the SDL tests + +srcdir = . + +CC = gcc +CFLAGS = -g -m32 -O2 -Wall `sdl-config --cflags` +LIBS = `sdl-config --libs`,-framework,OpenGL -lSDL_mixer +TARGET = my_dandy +OBJS = sankaku.o sgoex.o Enemy.o bom.o tokuten.o atari.o count2.o move.o schedule.o tama.o syokika.o Ss.o sound.o main.o profile.o debug.o trace.o LoadSprite.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