use std11 instead of std99

This commit is contained in:
Mylloon 2022-11-14 14:00:30 +01:00
parent 67e848098c
commit 0ae47c1c86
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -1,5 +1,5 @@
CC = gcc CC = gcc
CFLAGS = -std=c99 -pedantic CFLAGS = -std=c11
RM = rm RM = rm
SOURCES = $(wildcard src/*.c) SOURCES = $(wildcard src/*.c)
@ -13,7 +13,7 @@ EXE = othello
main: CFLAGS += -O3 main: CFLAGS += -O3
main: compilation main: compilation
dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -g dev: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -fsanitize=undefined -pedantic -g
dev: compilation dev: compilation
compilation: $(OBJECTS) compilation: $(OBJECTS)