diff options
Diffstat (limited to 'makefile')
-rw-r--r-- | makefile | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -234,12 +234,28 @@ $(error Unable to detect OS from uname -a: $(UNAME)) endif endif -MINGW:= +ifdef MSYSTEM +MINGW := $(MINGW_PREFIX) +ifeq ($(MSYSTEM),MINGW32) + MINGW32 := $(MINGW_PREFIX) +endif +ifeq ($(MSYSTEM),MINGW64) + MINGW64 := $(MINGW_PREFIX) +endif +ifeq ($(MSYSTEM),CLANGARM64) + MINGW64 := $(MINGW_PREFIX) +endif +ifndef TOOLCHAIN + TOOLCHAIN := $(MINGW_PREFIX)/bin/ +endif +else # MSYSTEM +MINGW := ifdef MINGW64 MINGW := $(MINGW64) -else +else # MINGW64 MINGW := $(MINGW32) -endif +endif # MINGW64 +endif # MSYSTEM #------------------------------------------------- # specify core target: mame, ldplayer |