Add iOS build target

This commit is contained in:
meancoot 2013-03-17 18:51:57 -04:00
parent df5d732617
commit 555fc8db4c

View File

@ -42,6 +42,14 @@ else ifeq ($(platform), osx)
SHARED := -dynamiclib -lz SHARED := -dynamiclib -lz
ENDIANNESS_DEFINES := -DLSB_FIRST ENDIANNESS_DEFINES := -DLSB_FIRST
PLATFORM_DEFINES := -DHAVE_ZLIB PLATFORM_DEFINES := -DHAVE_ZLIB
else ifeq ($(platform), ios)
TARGET := genesis_plus_gx_libretro.dylib
fpic := -fPIC
SHARED := -dynamiclib -lz
ENDIANNESS_DEFINES := -DLSB_FIRST
PLATFORM_DEFINES := -DHAVE_ZLIB
CC = clang -arch armv7 -isysroot $(IOSSDK)
else ifeq ($(platform), sncps3) else ifeq ($(platform), sncps3)
TARGET := genesis_plus_gx_libretro_ps3.a TARGET := genesis_plus_gx_libretro_ps3.a
CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe CC = $(CELL_SDK)/host-win32/sn/bin/ps3ppusnc.exe