Help in main menu doesn’t restart it anymore
[meritous_recharged.git] / Makefile
blob860a870f807c41f6db84e9db986a4be445178b47
2 # Makefile
4 # Copyright 2007, 2008 Lancer-X/ASCEAI
6 # This file is part of Meritous.
8 # Meritous is free software: you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation, either version 3 of the License, or
11 # (at your option) any later version.
13 # Meritous is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with Meritous. If not, see <http://www.gnu.org/licenses/>.
21 LDFLAGS = `sdl-config --libs` -lSDL_image -lSDL_mixer -lz -lm
22 CCFLAGS = -O2 -Wall `sdl-config --cflags` -g
24 OBJS = src/levelblit.o \
25 src/mapgen.o \
26 src/demon.o \
27 src/gamemap.o \
28 src/tiles.o \
29 src/save.o \
30 src/help.o \
31 src/audio.o \
32 src/boss.o \
33 src/ending.o
35 default: meritous
37 %.o: %.c
38 gcc -c -o $@ $? ${CCFLAGS}
40 meritous: ${OBJS}
41 gcc -o $@ $+ ${LDFLAGS}
43 clean:
44 rm ${OBJS}