Unverified Commit 48900394 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Update Makefile

parent fa575b7f
Pipeline #18307 passed with stage
in 1 minute and 32 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment