From 368b34985b1f961cd69aaabd80ecea7c50152873 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Sat, 27 Sep 2025 18:47:07 +1000 Subject: [PATCH] config.mk platform detection --- config.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.mk b/config.mk index 8886f23..1e68021 100644 --- a/config.mk +++ b/config.mk @@ -13,3 +13,10 @@ CXXDEBUG := -g # === Linker Configuration === LD := ld LDFLAGS := + +# === Platform Configuration === +ifeq ($(OS),Windows_NT) # Windows_NT -> XP, 2000, 7, Vista, 10... + PLATFORM := WINDOWS_NT +else + PLATFORM := $(shell uname) +endif