From ea6155677e0f466d05a0027fdbe29827f4a08c2c Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 2 Jun 2021 14:09:18 -0400 Subject: Enable -Wimplicit-fallthrough --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 ?= -- cgit v1.2.3