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 21:41:40 -0400
commit4d2b28bf1b5c63519513f8abc4695e06728739d1 (patch)
treea361a56349937343b512ad011a0dca513da8c833 /Makefile
parentd1a1990c4177653fd2379c227142e6208ecfc20d (diff)
downloadlibctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.tar.gz
libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.tar.bz2
libctemplates-4d2b28bf1b5c63519513f8abc4695e06728739d1.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