define GLFW_INCLUDE_NONE, so glfw knows we're using custom headers.

This commit is contained in:
2025-09-15 13:51:31 +02:00
parent 25fa078c98
commit 11c8748262
2 changed files with 1 additions and 4 deletions

View File

@@ -12,6 +12,7 @@ CMAKE ?= cmake -G 'Unix Makefiles'
CPPFLAGS ?=
CFLAGS ?= -O2 -Wall -Wextra -Wpedantic -Wno-pointer-arith
LDFLAGS ?= -flto
CPPFLAGS += -DGLFW_INCLUDE_NONE
CFLAGS += -std=gnu99
# add a few extra flags depending on whether