aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Liodden <[email protected]>2017-11-15 13:41:29 +0100
committerErik Liodden <[email protected]>2017-11-15 16:01:28 +0100
commitd2d0901263fb97ebcf64d4f4b67e65cd5b31e922 (patch)
tree78a4c4990ed1959f2252961091e53ac751ce685a
parent40c2c710a89760ea462723f2c1a38c1f2b5c41b7 (diff)
downloadalgdat-d2d0901263fb97ebcf64d4f4b67e65cd5b31e922.tar.gz
add more warnings
-Wextra could be useful for debugging and making good (or better) code.
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e90e4cb..aaa3b3f 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,7 @@
CC=gcc
OUTPUT_OPTION=-MMD -MP -o [email protected]
-CFLAGS += -Wall -O2 --std=c99 -Wvla -I../include
+CFLAGS += -Wall -Wextra -O2 --std=c99 -Wvla -I../include
MODULES := misc oving
CFLAGS += $(patsubst %,-I%,$(MODULES))