fix Makefile so it has android-sdk
This commit is contained in:
parent
fb057ac80d
commit
dfb5a9b854
1 changed files with 6 additions and 6 deletions
12
app/Makefile
12
app/Makefile
|
@ -74,9 +74,9 @@ alex: ./result/bin/classes.dex
|
|||
# --lib $(ANDROID_JAR) --output ./result/bin; RESULT=$$?; echo result was $$RESULT; (exit $$RESULT)
|
||||
|
||||
|
||||
./result/bin/lib/arm64-v8a/libnativecode.so: $(ANDROIDSRCS)
|
||||
./result/bin/lib/arm64-v8a/libnativecode.so: $(ANDROIDSRCS) ./android-sdk/installed
|
||||
mkdir -p "$$(dirname "$@")"
|
||||
$(CC_ARM64) $(CFLAGS) $(CFLAGS_ARM64) -o $@ $^ -L$(NDK_TOOLCHAIN)/sysroot/usr/lib/aarch64-linux-android/$(ANDROIDVERSION) $(LDFLAGS)
|
||||
$(CC_ARM64) $(CFLAGS) $(CFLAGS_ARM64) -o $@ $(ANDROIDSRCS) -L$(NDK_TOOLCHAIN)/sysroot/usr/lib/aarch64-linux-android/$(ANDROIDVERSION) $(LDFLAGS)
|
||||
|
||||
|
||||
|
||||
|
@ -92,10 +92,10 @@ alex: ./result/bin/classes.dex
|
|||
# -v -f -m -S ./res -J ./src -M ./AndroidManifest.xml \
|
||||
# -I $(ANDROID_JAR)
|
||||
|
||||
# generate the AppActivity.java (template
|
||||
# the "|" denotes an "order-only" prerequiste (as in https://stackoverflow.com/a/58040049/1711186)
|
||||
./src/$(PACKAGE)/AppActivity.java: app-config.sh | ./src/$(PACKAGE)
|
||||
./.Makefile.scripts/make--AppActivity.java.sh > $@
|
||||
## generate the AppActivity.java (template
|
||||
## the "|" denotes an "order-only" prerequiste (as in https://stackoverflow.com/a/58040049/1711186)
|
||||
#./src/$(PACKAGE)/AppActivity.java: app-config.sh | ./src/$(PACKAGE)
|
||||
# ./.Makefile.scripts/make--AppActivity.java.sh > $@
|
||||
|
||||
./src/$(PACKAGE):
|
||||
mkdir -p $@
|
||||
|
|
Loading…
Add table
Reference in a new issue