aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-03 05:35:18 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-03 05:35:18 +0100
commit0216415fe72b8bbf929b5781685af4454a7b2fc6 (patch)
tree0f74b8d72e45144f799e9d81ed370af3cdc47842 /Makefile
parentm + add makefile (diff)
downloadlibpassphrase-0216415fe72b8bbf929b5781685af4454a7b2fc6.tar.gz
libpassphrase-0216415fe72b8bbf929b5781685af4454a7b2fc6.tar.bz2
libpassphrase-0216415fe72b8bbf929b5781685af4454a7b2fc6.tar.xz
m + derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
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 "$<"