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