From 11a5e8dc4aad45fca84e42c5dae82059eabe4166 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 2 Feb 2026 11:14:41 +0100 Subject: [PATCH] Switch over to GNU17 C standard. The main decision is due to GNU17 being more "modern", and more accurately reflecting practices of today. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8af5db9..1585bf5 100644 --- a/Makefile +++ b/Makefile @@ -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