summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-06-02 14:09:18 -0400
committerTavian Barnes <tavianator@tavianator.com>2021-06-02 14:09:18 -0400
commitea6155677e0f466d05a0027fdbe29827f4a08c2c (patch)
treed2b8ab2d6f8921d6e5ad29b4fb58368533a0c02b /Makefile
parent69a5227098b87b048a90ceb1ca7b169c02ba151e (diff)
downloadbfs-ea6155677e0f466d05a0027fdbe29827f4a08c2c.tar.xz
Enable -Wimplicit-fallthrough
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 994962f..5d70c6e 100644
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,14 @@ INSTALL ?= install
MKDIR ?= mkdir -p
RM ?= rm -f
-DEFAULT_CFLAGS ?= -g -Wall -Wmissing-declarations -Wshadow -Wsign-compare -Wstrict-prototypes
+DEFAULT_CFLAGS := \
+ -g \
+ -Wall \
+ -Wmissing-declarations \
+ -Wshadow \
+ -Wsign-compare \
+ -Wstrict-prototypes \
+ -Wimplicit-fallthrough
CFLAGS ?= $(DEFAULT_CFLAGS)
LDFLAGS ?=