diff options
Diffstat (limited to 'Makefile.libretro')
-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 |