]> Pileus Git - ~andy/spades/blobdiff - makefile
Split out uninstall to save settings
[~andy/spades] / makefile
index 0e800dcca1c57b1ccab160ab387ade52e8e9fb28..877113032df4f55f2944dae48e9bf7b24bff10fc 100644 (file)
--- a/makefile
+++ b/makefile
@@ -24,17 +24,20 @@ clean:
        rm -rf bin gen obj
 
 logcat:
-       adb logcat Spades:D '*:S'
+       adb logcat Spades:D AndroidRuntime:E '*:S'
 
 run: bin/install.stamp
        adb shell am start -W -a android.intent.action.MAIN -n $(PACKAGE)/.Main
        
 
 install bin/install.stamp: $(OUTPUT)
-       adb uninstall $(PACKAGE)
        adb install -r $+
        touch bin/install.stamp
 
+uninstall:
+       adb uninstall $(PACKAGE)
+       rm bin/install.stamp
+
 # Rules
 %.apk: %.dex %.res | bin
        @echo "APK    $@.in"