]> git.saurik.com Git - cycript.git/blobdiff - makefile
Implemented ->, &, and fleshed out *.
[cycript.git] / makefile
index f75fd3a58c5ef269da78022499aa2e03cadd37c3..4fbd67ddb020a78e0477a8edf912d7b06a382b41 100644 (file)
--- a/makefile
+++ b/makefile
@@ -4,8 +4,6 @@ else
 target := $(PKG_TARG)-
 endif
 
-package:
-
 flags := -mthumb -g3 -O0 -Wall -Werror -I. -fno-common
 flags += -F${PKG_ROOT}/System/Library/PrivateFrameworks
 
@@ -14,6 +12,8 @@ deb := $(shell grep ^Package: control | cut -d ' ' -f 2-)_$(shell grep ^Version:
 
 header := Cycript.tab.hh Parser.hpp Pooling.hpp Struct.hpp cycript.hpp
 
+$(deb):
+
 all: cycript libcycript.dylib libcycript.plist
 
 clean:
@@ -74,7 +74,7 @@ cycript: Application.o libcycript.dylib
            -framework JavaScriptCore -framework UIKit
        ldid -S cycript
 
-package: all
+$(deb): all
        rm -rf package
        mkdir -p package/DEBIAN
        sed -e 's/#/$(svn)/' control >package/DEBIAN/control
@@ -93,7 +93,9 @@ package: all
        cp -a libcycript.plist package/usr/lib
        dpkg-deb -b package $(deb)
 
-test: package
+package: $(deb)
+
+test: $(deb)
        dpkg -i $(deb)
        cycript test.cy