Commit a14115bb authored by Libretro-Admin's avatar Libretro-Admin
Browse files

Update Makefile

parent 79716f59
......@@ -29,7 +29,9 @@ else ifeq ($(platform), osx)
TARGET := $(TARGET_NAME)_libretro.dylib
fpic := -fPIC
SHARED := -dynamiclib
else ifeq ($(platform), ios)
# iOS
else ifneq (,$(findstring ios,$(platform)))
TARGET := $(TARGET_NAME)_libretro_ios.dylib
fpic := -fPIC
SHARED := -dynamiclib
......@@ -38,7 +40,14 @@ else ifeq ($(platform), ios)
ifeq ($(IOSSDK),)
IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
endif
CC = clang -arch armv7 -isysroot $(IOSSDK)
CC = cc -arch armv7 -isysroot $(IOSSDK)
ifeq ($(platform),ios9)
SHARED += -miphoneos-version-min=8.0
CC += -miphoneos-version-min=8.0
else
SHARED += -miphoneos-version-min=5.0
CC += -miphoneos-version-min=5.0
endif
else ifeq ($(platform), theos_ios)
# Theos iOS
DEPLOYMENT_IOSVERSION = 5.0
......
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