Merge pull request #16 from meancoot/master

iOS build target
This commit is contained in:
Squarepusher 2013-03-17 17:11:08 -07:00
commit 9a2016c04f

View File

@ -312,6 +312,16 @@ else ifeq ($(platform), osx)
ENDIANNESS_DEFINES := -DLSB_FIRST
LDFLAGS += $(PTHREAD_FLAGS)
FLAGS += $(PTHREAD_FLAGS) -DHAVE_MKDIR
else ifeq ($(platform), ios)
TARGET := $(TARGET_NAME).dylib
fpic := -fPIC
SHARED := -dynamiclib
ENDIANNESS_DEFINES := -DLSB_FIRST
LDFLAGS += $(PTHREAD_FLAGS)
FLAGS += $(PTHREAD_FLAGS)
CC = clang -arch armv7 -isysroot $(IOSSDK)
CXX = clang++ -arch armv7 -isysroot $(IOSSDK)
else ifeq ($(platform), ps3)
TARGET := $(TARGET_NAME)_ps3.a
CC = $(CELL_SDK)/host-win32/ppu/bin/ppu-lv2-gcc.exe