summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1d7b953..17b38e4 100644
--- a/Makefile
+++ b/Makefile
@@ -69,10 +69,14 @@ upload: PHONY build
DEP_DIR = $1 $(shell find $1)
platforms/browser/build/package.zip: platforms/browser $(sources) $(call DEP_DIR,www)
+ rm -f -- $@
$(CORDOVA) build browser
+ test -f $@
platforms/android/ant-build/CordovaApp-debug.apk: platforms/android $(sources) $(call DEP_DIR,www)
+ rm -f -- $@
$(CORDOVA) build android
+ test -f $@
platforms/%:
$(CORDOVA) platform add $*