use std11 instead of std99
This commit is contained in:
parent
67e848098c
commit
0ae47c1c86
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -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)
|
||||||
|
|
Reference in a new issue