From: Jay Freeman (saurik) Date: Tue, 10 Sep 2013 08:37:32 +0000 (-0700) Subject: Slightly clean up the Xcode build definitions. X-Git-Tag: v0.9.500%b1~7 X-Git-Url: https://git.saurik.com/cycript.git/commitdiff_plain/1510e2d9ceaf4e017b8c53f066970c72a082ff12?ds=inline Slightly clean up the Xcode build definitions. --- diff --git a/xcode.mk b/xcode.mk index 63b3412..0766d6f 100644 --- a/xcode.mk +++ b/xcode.mk @@ -56,12 +56,6 @@ define build_ios .PHONY: build-ios-$(1) build-ios-$(1): $(MAKE) -C build.ios-$(1) -build.ios-$(1)/.libs/cycript: build-ios-$(1) - @ -build.ios-$(1)/.libs/libcycript.dylib: build-ios-$(1) - @ -build.ios-$(1)/.libs/libcycript-any.dylib: build-ios-$(1) - @ build.ios-$(1)/.libs/libcycript.a: build-ios-$(1) @ endef @@ -80,6 +74,17 @@ endef $(foreach arch,i386,$(eval $(call build_sim,$(arch)))) +define build_arm +build.ios-$(1)/.libs/cycript: build-ios-$(1) + @ +build.ios-$(1)/.libs/libcycript.dylib: build-ios-$(1) + @ +build.ios-$(1)/.libs/libcycript-any.dylib: build-ios-$(1) + @ +endef + +$(foreach arch,armv6,$(eval $(call build_arm,$(arch)))) + .libs/%: build.mac-i386/.libs/% build.mac-x86_64/.libs/% build.ios-armv6/.libs/% @mkdir -p .libs $(lipo) -create -output $@ $^