summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-12-09 11:59:26 -0500
committerTavian Barnes <tavianator@tavianator.com>2022-12-09 11:59:49 -0500
commitd0e8026d650bb4318ea8608865d5f5a011366dcc (patch)
treeb291854144b237e5c58c7f3dffe32ceb3a71c01a /Makefile
parent0cc598f1628167599131756e909630dc36d33610 (diff)
downloadbfs-d0e8026d650bb4318ea8608865d5f5a011366dcc.tar.xz
Turn on more aggressive format string warnings
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a1144c9..afd3c77 100644
--- a/Makefile
+++ b/Makefile
@@ -46,11 +46,12 @@ OBJ := $(BUILDDIR)/obj
DEFAULT_CFLAGS := \
-g \
-Wall \
+ -Wformat=2 \
+ -Wimplicit-fallthrough \
-Wmissing-declarations \
-Wshadow \
-Wsign-compare \
- -Wstrict-prototypes \
- -Wimplicit-fallthrough
+ -Wstrict-prototypes
CFLAGS ?= $(DEFAULT_CFLAGS)
LDFLAGS ?=