]> git.saurik.com Git - cycript.git/commitdiff
Slightly clean up the Xcode build definitions.
authorJay Freeman (saurik) <saurik@saurik.com>
Tue, 10 Sep 2013 08:37:32 +0000 (01:37 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Tue, 10 Sep 2013 08:37:32 +0000 (01:37 -0700)
xcode.mk

index 63b3412d32a5cfa29ebf7fd535b90859097cc00f..0766d6f790850b93f6d532ad0dee77bb5e1c2f18 100644 (file)
--- 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 $@ $^