updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / syzygymantra / Makefile
blob3b3df130fbcba287974e027251a3ad17270daa33
1 EXE_NAME = mantra
3 CC = gcc
4 CFLAGS = -O2 -Wall -Iinclude -Isrc -c -DMANTRA_WINDOWS
6 OUR_LIBRARIES = -laldmb -ldumb -lalfont -lalleg -lfreetype
7 LDFLAGS = -Wl -Wall
9 SRCFILES = src/Dialogs.c \
10 src/Enemies.c \
11 src/EnemyCollision.c \
12 src/EnemyUpdate.c \
13 src/GameConstants.c \
14 src/Input.c \
15 src/LoadData.c \
16 src/main.c \
17 src/Map.c \
18 src/OpeningScreen.c \
19 src/Saric.c \
20 src/Sound.c \
21 src/Tests.c \
22 src/Utils.c \
24 OBJFILES = $(SRCFILES:.c=.o)
26 %.o: %.c
27 $(CC) $(CFLAGS) -o $@ $<
29 all: $(EXE_NAME)
31 $(EXE_NAME): $(OBJFILES)
32 $(CC) $(LDFLAGS) -o $(EXE_NAME) $(OBJFILES) $(OUR_LIBRARIES) $(INT_LIBRARIES)
33 @(echo "All done! Enjoy Mantra!")