Makefile: added -Wswitch-enum to warning flags
This commit is contained in:
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ OUT=$(DIST)/alisp.out
|
|||||||
TEST=$(DIST)/test.out
|
TEST=$(DIST)/test.out
|
||||||
|
|
||||||
LDFLAGS=
|
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
|
DFLAGS=-ggdb -fsanitize=address -fsanitize=undefined
|
||||||
RFLAGS=-O3
|
RFLAGS=-O3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user