From 0216415fe72b8bbf929b5781685af4454a7b2fc6 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 3 Nov 2013 05:35:18 +0100 Subject: m + derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index defe086..ffee8d5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ OPTIMISE = -Os CPPFLAGS = LDFLAGS = -CFLAGS = -Wall -Wextra -pedantic +CFLAGS = -std=gnu99 -Wall -Wextra CC_FLAGS = $(CPPFLAGS) $(CFLAGS) $(OPTIMISE) LD_FLAGS = $(LDFLAGS) $(CFLAGS) $(OPTIMISE) @@ -20,6 +20,7 @@ bin/cerberus: $(OBJ) obj/%.o: src/%.c src/%.h + @mkdir -p obj $(CC) $(CC_FLAGS) -o "$@" -c "$<" -- cgit v1.2.3-70-g09d2