diff options
author | twinaphex <libretro@gmail.com> | 2020-10-07 13:32:46 +0200 |
---|---|---|
committer | twinaphex <libretro@gmail.com> | 2021-03-12 08:42:23 +0100 |
commit | 556e1be14b3f1647f8e07d47694c971ba5ee296e (patch) | |
tree | c10500e43d8eace7e4f9f13bb410f2d0c13ebf65 | |
parent | 157bb251956fd6406f3c7de94bebd98bc1ffb30f (diff) |
Use MSYSTEM
-rw-r--r-- | Makefile.libretro | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.libretro b/Makefile.libretro index 0fcca72..b6f98b6 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -2,19 +2,20 @@ UNAME=$(shell uname -s) UNAMEM=$(shell uname -m) platform ?= unix + ifeq ($(platform), emscripten) platform = emscripten ABI := x86_64 target = libblastem.so libname = blastem_libretro_emscripten.bc -else ifneq ($(findstring MINGW64,$(UNAME)),) +else ifeq ($(MSYSTEM),MINGW64) platform = win OS :=Windows CC ?=gcc ABI := x86_64 target = libblastem.dll libname = blastem_libretro.dll -else ifneq ($(findstring MINGW32,$(UNAME)),) +else ifeq ($(MSYSTEM),MINGW32) platform = win OS :=Windows CC ?=gcc |