Add -Wextra and -ansi just to get more errors/warnings.

This commit is contained in:
Jordan Bancino 2022-07-27 09:53:24 -04:00
parent bc849819d9
commit c888fd2ba2

View file

@ -15,7 +15,7 @@
: "${INCLUDES:=-Isrc/include}"
: "${CC:=cc}"
: "${CFLAGS:=-Wall -Werror -pedantic -std=c89 -O3 $HEADERS $INCLUDES}"
: "${CFLAGS:=-Wall -Werror -Wextra -pedantic -ansi -std=c89 -O3 $HEADERS $INCLUDES}"
: "${LDFLAGS:=-static -flto -fdata-sections -ffunction-sections -s -Wl,-static -Wl,-gc-sections}"
: "${PROG:=telodendria}"