mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Makefile MINGW detection
This commit is contained in:
parent
99b66faa02
commit
61475598b0
1 changed files with 8 additions and 0 deletions
8
Makefile
8
Makefile
|
@ -14,6 +14,14 @@ ifeq ($(shell uname -m), aarch64)
|
||||||
COMPILE_ARCH=arm64
|
COMPILE_ARCH=arm64
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring MINGW32,$(shell uname)))
|
||||||
|
COMPILE_PLATFORM=mingw32
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(findstring MINGW64,$(shell uname)))
|
||||||
|
COMPILE_PLATFORM=mingw64
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(COMPILE_PLATFORM),sunos)
|
ifeq ($(COMPILE_PLATFORM),sunos)
|
||||||
# Solaris uname and GNU uname differ
|
# Solaris uname and GNU uname differ
|
||||||
COMPILE_ARCH=$(shell uname -p | sed -e 's/i.86/x86/')
|
COMPILE_ARCH=$(shell uname -p | sed -e 's/i.86/x86/')
|
||||||
|
|
Loading…
Reference in a new issue