X-Git-Url: https://git.saurik.com/uikittools.git/blobdiff_plain/6b98eff1bf78f18653d6087dc2f622b3aab4843f..61bc7627c4d324d985fd0da5c66178d3aeac74d0:/makefile?ds=sidebyside diff --git a/makefile b/makefile index 77f014c..0f16936 100644 --- a/makefile +++ b/makefile @@ -12,6 +12,8 @@ private := -F/System/Library/PrivateFrameworks flags := -Os -Werror flags += -framework CoreFoundation flags += -framework Foundation +flags += -miphoneos-version-min=2.0 +flags += -arch armv6 gssc := -lobjc iomfsetgamma := -I. $(private) -framework IOKit -framework IOMobileFramebuffer @@ -25,11 +27,11 @@ uicache: csstore.cpp extrainst_: csstore.cpp %: %.mm - cycc -i2.0 -o$@ -- $^ $(flags) $($@) + cycc -- -o $@ $^ $(flags) $($@) ldid -S$(wildcard $@.xml) $@ %: %.c - cycc -i2.0 -o$@ -- -x c $^ $(flags) $($@) + cycc -- -o $@ -x c $^ $(flags) $($@) ldid -S$(wildcard $@.xml) $@ package: all extrainst_