mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
Make MXE easier to compile in
Specifying the target arch MXE expects in the makefile makes it easier for MXE users to compile the game.
This commit is contained in:
parent
ed58f0b0c7
commit
bd4187c92b
1 changed files with 11 additions and 0 deletions
11
Makefile
11
Makefile
|
@ -40,6 +40,17 @@ EXT_OPTIONS_MENU ?= 1
|
||||||
TARGET_WEB ?= 0
|
TARGET_WEB ?= 0
|
||||||
# Specify the target you are building for, 0 means native
|
# Specify the target you are building for, 0 means native
|
||||||
TARGET_ARCH ?= native
|
TARGET_ARCH ?= native
|
||||||
|
|
||||||
|
ifeq ($(CROSS),i686-w64-mingw32.static-)
|
||||||
|
ifeq ($(CROSS),x86_64-w64-mingw32.static-)
|
||||||
|
TARGET_ARCH = i386pe
|
||||||
|
else
|
||||||
|
TARGET_ARCH = i386pe
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
TARGET_ARCH = native
|
||||||
|
endif
|
||||||
|
|
||||||
TARGET_BITS ?= 0
|
TARGET_BITS ?= 0
|
||||||
|
|
||||||
ifneq ($(TARGET_BITS),0)
|
ifneq ($(TARGET_BITS),0)
|
||||||
|
|
Loading…
Reference in a new issue