diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2021-06-02 14:09:18 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2021-06-02 14:09:18 -0400 |
commit | ea6155677e0f466d05a0027fdbe29827f4a08c2c (patch) | |
tree | d2b8ab2d6f8921d6e5ad29b4fb58368533a0c02b /Makefile | |
parent | 69a5227098b87b048a90ceb1ca7b169c02ba151e (diff) | |
download | bfs-ea6155677e0f466d05a0027fdbe29827f4a08c2c.tar.xz |
Enable -Wimplicit-fallthrough
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 ?= |