config.mk parallel jobs

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

View file

@ -14,6 +14,11 @@ CXXDEBUG := -g
LD := ld
LDFLAGS :=
# === GNU Make Configuration ===
# GMAKE_JOBS defaults to the number of available logical processors
GMAKE_JOBS := $(shell nproc)
MAKEFLAGS := --jobs=$(GMAKE_JOBS) --output-sync=target
# === Platform Configuration ===
ifeq ($(OS),Windows_NT) # Windows_NT -> XP, 2000, 7, Vista, 10...
PLATFORM := WINDOWS_NT