mirror of
https://github.com/libretro/vemulator-libretro.git
synced 2024-12-04 15:17:23 +00:00
Update Makefile
This commit is contained in:
parent
fa575b7f83
commit
48900394ef
10
Makefile
10
Makefile
@ -5,15 +5,16 @@ CXX ?= g++
|
||||
|
||||
CORE_DIR := .
|
||||
|
||||
# platform
|
||||
ifeq ($(platform),)
|
||||
platform = unix
|
||||
ifeq ($(shell uname -a),)
|
||||
ifeq ($(shell uname -s),)
|
||||
platform = win
|
||||
else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
else ifneq ($(findstring MINGW,$(shell uname -s)),)
|
||||
platform = win
|
||||
else ifneq ($(findstring Darwin,$(shell uname -a)),)
|
||||
else ifneq ($(findstring Darwin,$(shell uname -s)),)
|
||||
platform = osx
|
||||
else ifneq ($(findstring win,$(shell uname -a)),)
|
||||
else ifneq ($(findstring win,$(shell uname -s)),)
|
||||
platform = win
|
||||
endif
|
||||
endif
|
||||
@ -58,7 +59,6 @@ else ifeq ($(platform), osx)
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
|
||||
|
||||
ifeq ($(UNIVERSAL),1)
|
||||
ifeq ($(ARCHFLAGS),)
|
||||
ARCHFLAGS = -arch i386 -arch x86_64
|
||||
|
Loading…
Reference in New Issue
Block a user