]> git.saurik.com Git - cycript.git/commitdiff
Add a local install target (why not?) to xcode.mk.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 4 Jun 2014 10:23:43 +0000 (03:23 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 4 Jun 2014 10:23:43 +0000 (03:23 -0700)
xcode.mk

index 2232b7570cfdc39cee49add46fc9799b062871b5..f651721282afe263cf8f34c8a83508e3f8d30dd1 100644 (file)
--- a/xcode.mk
+++ b/xcode.mk
@@ -179,4 +179,8 @@ cycript: cycript.in
        cp -af $< $@
        chmod 755 $@
 
-.PHONY: all clean package
+install: Cycript.lib/cycript Cycript.lib/libcycript.dylib Cycript.lib/libcycript-sys.dylib Cycript.lib/libcycript-any.dylib Cycript.lib/libcycript-sim.dylib
+       sudo cp -af $(filter-out %.dylib,$^) /usr/bin
+       sudo cp -af $(filter %.dylib,$^) /usr/lib
+
+.PHONY: all clean install package