comparison Makefile @ 504:53ae310a96f8 stable-1.9.4-4

updates for android10+
author Carl Byington <carl@five-ten-sg.com>
date Wed, 08 Jun 2022 09:32:21 -0700
parents 3feac274a27b
children 6dbddfa27f6c
comparison
equal deleted inserted replaced
503:cbdb219e9ff5 504:53ae310a96f8
1 #mc40 is "On Device Storage"
2 #tc55 is "Internal Storage"
3
4 na=$(shell find . -iname '*.c' -o -iname '*.h' -o -iname '*.cpp') 1 na=$(shell find . -iname '*.c' -o -iname '*.h' -o -iname '*.cpp')
5 style:=release 2 style:=release
6 dest:=../ASM.v6/installers 3 dest:=../ASM.v6/installers
7 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2) 4 ver:=$(shell grep versionName app/src/main/AndroidManifest.xml | cut -d'"' -f2)
8 id:=$(shell hg id --id || echo 1) 5 id:=$(shell hg id --id || echo 1)
28 25
29 all: 26 all:
30 make build.asm.packages 27 make build.asm.packages
31 28
32 builder: clean prep 29 builder: clean prep
33 #ANDROID_HOME=/home/carl/Android/Sdk ANDROID_NDK_HOME=/home/carl/Android/Sdk/ndk-bundle ./gradlew $(task)
34 echo ./gradlew $(task) 30 echo ./gradlew $(task)
35 @echo -e "$(signapk)\n$(signapk)" | ./gradlew $(task) 31 @echo -e "$(signapk)\n$(signapk)" | ./gradlew $(task)
36 mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk) 32 mv app/build/outputs/apk/arm/$(style)/app-arm-$(style).apk $(apk)
37 33
38 clean: 34 clean: