Mercurial > hg > Members > kono > tree_dandy2
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:01387a2e419e |
---|---|
1 # Makefile to build the SDL tests | |
2 | |
3 srcdir = . | |
4 | |
5 CC = gcc | |
6 CFLAGS = -g -m32 -O2 -Wall `sdl-config --cflags` | |
7 LIBS = `sdl-config --libs`,-framework,OpenGL -lSDL_mixer | |
8 TARGET = my_dandy | |
9 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 | |
10 | |
11 all: $(TARGET) | |
12 | |
13 test: $(TARGET) | |
14 ./$(TARGET) -test | |
15 | |
16 $(TARGET): $(OBJS) | |
17 $(CC) -o $@ $(OBJS) $(LIBS) | |
18 | |
19 clean: | |
20 rm -f $(TARGET) $(OBJS) | |
21 | |
22 .c.o: | |
23 $(CC) $(CFLAGS) $(INCLUDES) -c $< | |
24 | |
25 debug.o:debug.h |