aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2019-09-27 21:41:40 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2019-09-27 22:27:13 -0400
commitd9103bafe57bb68439cfccef106a7334051bf876 (patch)
treeea25e253b1e867f28378cb9c295ae355db9c17c7 /Makefile
parentd1a1990c4177653fd2379c227142e6208ecfc20d (diff)
downloadlibctemplates-d9103bafe57bb68439cfccef106a7334051bf876.tar.gz
libctemplates-d9103bafe57bb68439cfccef106a7334051bf876.tar.bz2
libctemplates-d9103bafe57bb68439cfccef106a7334051bf876.zip
Squashed warnings
Added the -Wextra flag to the makefile for debug builds, and squashed all the warning that came up.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f772350..bbe43f5 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ LIBNAME = libctemplates.a
BIN_POSTFIX = .exe
ifeq ($(DEBUG),true)
- CFLAGS += -g -O0 -Wall -Werror
+ CFLAGS += -g -O0 -Wall -Wextra -Werror
else
CFLAGS += -O3
endif