blob: cce8abe91a93064d80cca9793c06817882e1e7fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- a/makefile
+++ b/makefile
@@ -4,7 +4,7 @@
# To execute the game you need the runtimes of SDL, SDL_mixer and SDL_image.
FLAGS=-W -WALL
-CC=gcc
+CC?=gcc
FILES=biniax.c hof.c desktop/cfg.c desktop/gfx.c desktop/snd.c desktop/inp.c desktop/sys.c
INCLUDES=-I . -I desktop
LINKTO=-lSDL -lSDL_mixer -lSDL_image
@@ -12,4 +12,4 @@
TARGET=biniax2
biniax:
- $(CC) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO)
\ No newline at end of file
+ $(CC) $(CFLAGS) $(LDFLAGS) $(AUTO) $(FILES) $(INCLUDES) -o $(TARGET) $(LINKTO)
|