config.mk parallel jobs
This commit is contained in:
parent
368b34985b
commit
8633dbd283
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue