config.mk platform detection

This commit is contained in:
Emile Clark-Boman 2025-09-27 18:47:07 +10:00
parent b62a98e461
commit 368b34985b

View file

@ -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