Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ab4e4fbf89
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (18 sloc) 0.766 kb
PLAT = /Developer/Platforms/iPhoneOS.platform
SDK = /Developer/SDKs/iPhoneOS5.1.sdk
#OCAMLFIND = /usr/local/bin/ocamlfind -toolchain ios
OCAMLFIND = ocamlfind -toolchain ios
OCAMLOPT = $(OCAMLFIND) ocamlopt
OCAMLC = $(OCAMLFIND) ocamlc
OCAMLLIBDIR = $(shell ${OCAMLOPT} -where)
ARCH = -arch armv7
CC = $(PLAT)/Developer/usr/bin/gcc $(ARCH)
CFLAGS = -x objective-c -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wreturn-type -Wunused-variable -isysroot $(PLAT)$(SDK) -isystem $(OCAMLLIBDIR) -DCAML_NAME_SPACE -fexceptions -miphoneos-version-min=4.2 -gdwarf-2 -D_FILE_OFFSET_BITS=64 -D_REENTRANT
include Makefile.common
MOBS = LightTest/main.o
CFLAGS += -I ../src/ios
include Makefile.in
ios: $(TARGET).native
.DEFAULT_GOAL := ios
clean::
rm -f LightTest/*.o
Jump to Line
Something went wrong with that request. Please try again.