diff Makefile @ 523:775a81a78a2b default tip

add more debug code
author Carl Byington <carl@five-ten-sg.com>
date Fri, 31 May 2024 18:53:22 -0600
parents 5d55f83b4e87
children
line wrap: on
line diff
--- a/Makefile	Fri May 31 18:30:19 2024 -0600
+++ b/Makefile	Fri May 31 18:53:22 2024 -0600
@@ -17,6 +17,9 @@
 adb=/home/carl/Android/Sdk/platform-tools/adb
 aapt=/home/carl/Android/Sdk/build-tools/33.0.0/aapt
 
+# dropbox path
+dropboxpathandroid:='AccuSpeech Mobile Dropbox/AccuSpeech/Software/Android'
+
 ifeq ($(style),release)
     task:=assembleArmRelease
 	debug:=0
@@ -138,8 +141,13 @@
 	$(adb) install -r -d $(debugapk)
 
 logcat.device:
+	$(adb) logcat -c
 	$(adb) logcat
 
+push.dropbox:
+	cp -a -p $(apk)		 ~/$(dropboxpathandroid)
+	cp -a -p $(debugapk) ~/$(dropboxpathandroid)
+
 push:
 	# from from android build machine
 	hg push ssh://ns.five-ten-sg.com/usr/hg/510Connectbot || /bin/true
@@ -160,4 +168,5 @@
 # hg commit -m 'commit message'
 # make build.asm.packages
 # make push
+# make push.dropbox
 # make install.android