mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-09-17 04:42:07 +02:00
Update Makefile
This commit is contained in:
@@ -50,8 +50,9 @@ endif
|
||||
ifeq ($(arch),ppc)
|
||||
CFLAGS += -DBLARGG_BIG_ENDIAN=1 -D__ppc__ -DFAMEC_NO_GOTOS
|
||||
endif
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
ifeq ($(OSX_LT_MAVERICKS),"YES")
|
||||
SHARED += -mmacosx-version-min=10.5
|
||||
endif
|
||||
else ifeq ($(platform), ios)
|
||||
@@ -59,14 +60,19 @@ else ifeq ($(platform), ios)
|
||||
SHARED := -dynamiclib
|
||||
APPLE := 1
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcrun -sdk iphoneos -show-sdk-path)
|
||||
endif
|
||||
|
||||
CC = clang -arch armv7 -isysroot $(IOSSDK)
|
||||
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
|
||||
CC_AS = perl ./tools/gas-preprocessor.pl $(CC)
|
||||
CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -marm
|
||||
ASFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon
|
||||
CFLAGS += -DIOS
|
||||
OSXVER = `sw_vers -productVersion | cut -c 4`
|
||||
ifneq ($(OSXVER),9)
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
ifeq ($(OSX_LT_MAVERICKS),"YES")
|
||||
CC += -miphoneos-version-min=5.0
|
||||
CXX += -miphoneos-version-min=5.0
|
||||
CC_AS += -miphoneos-version-min=5.0
|
||||
|
||||
Submodule cpu/cyclone updated: 590d780f20...355815ebb5
Reference in New Issue
Block a user