Made the game even easier to compile in MXE.
This commit is contained in:
parent
9230cb832d
commit
41828987f2
10
Makefile
10
Makefile
|
@ -64,7 +64,17 @@ else
|
||||||
TARGET_ARCH ?= native
|
TARGET_ARCH ?= native
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(WINDOWS_BUILD),1)
|
||||||
|
ifeq ($(CROSS),i686-w64-mingw32.static-)
|
||||||
|
TARGET_BITS = 32
|
||||||
|
else ifeq ($(CROSS),x86_64-w64-mingw32.static-)
|
||||||
|
TARGET_BITS = 64
|
||||||
|
else
|
||||||
TARGET_BITS ?= 0
|
TARGET_BITS ?= 0
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
TARGET_BITS ?= 0
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(TARGET_BITS),0)
|
ifneq ($(TARGET_BITS),0)
|
||||||
BITS := -m$(TARGET_BITS)
|
BITS := -m$(TARGET_BITS)
|
||||||
|
|
Loading…
Reference in New Issue