]> git.saurik.com Git - cydget.git/commitdiff
Make clean and all share the list of files built.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 28 Jun 2015 02:20:31 +0000 (19:20 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 28 Jun 2015 02:20:31 +0000 (19:20 -0700)
makefile

index 8e3ec48db7ee4efc1729f7c2de04f1e1d1b7b305..91710c68bb563d3e503440bb24b759fbe84d3415 100644 (file)
--- a/makefile
+++ b/makefile
@@ -3,10 +3,12 @@ jscore := JavaScriptCore-521
 
 cycc = cycc -i2.0 -o$@ -- $(filter %.mm,$^) -Xarch_armv6 -marm -g0 -O2 -I. -F/System/Library/PrivateFrameworks
 
-all: CydgetLoader.dylib WebCycript WebCycriptLockScreen CydgetSettings
+all := CydgetLoader.dylib WebCycript WebCycriptLockScreen CydgetSettings
+
+all: $(all)
 
 clean::
-       rm -f CydgetLoader.dylib CydgetSettings WebCycriptLockScreen
+       rm -f $(all)
 
 CydgetLoader.dylib: CydgetLoader.mm makefile
        $(cycc) -dynamiclib -framework Foundation -framework UIKit -framework CydiaSubstrate