Makefile: added -Wswitch-enum to warning flags

This commit is contained in:
2026-03-05 19:59:59 +00:00
parent 37d1764c6e
commit e629b9919e

View File

@@ -5,7 +5,7 @@ OUT=$(DIST)/alisp.out
TEST=$(DIST)/test.out
LDFLAGS=
GFLAGS=-Wall -Wextra -Wpedantic -Werror -std=c23 -I./include/
GFLAGS=-Wall -Wextra -Wswitch-enum -Wpedantic -Werror -std=c23 -I./include/
DFLAGS=-ggdb -fsanitize=address -fsanitize=undefined
RFLAGS=-O3