Switch over to GNU17 C standard.

The main decision is due to GNU17 being more "modern", and more
accurately reflecting practices of today.
This commit is contained in:
2026-02-02 11:14:41 +01:00
parent 455072f0e7
commit 11a5e8dc4a

View File

@@ -21,7 +21,7 @@ SRC := $(shell find src/ -name '*.c' -print)
OBJ := $(addsuffix .o,$(SRC))
DEP := $(addsuffix .d,$(SRC))
CFLAGS := -O2 $(CFLAGS) -g -std=gnu99\
CFLAGS := -O2 $(CFLAGS) -g -std=gnu17\
-Wall -Wextra -Wpedantic -Wno-pointer-arith
CPPFLAGS := -DNDEBUG $(CPPFLAGS) -DGLFW_INCLUDE_NONE\
-Iinclude