From dfb5a9b85494b094d6626ac6c5cd78667b59e903 Mon Sep 17 00:00:00 2001 From: Alexander Mahr Date: Sat, 1 Mar 2025 15:45:23 +0100 Subject: [PATCH] fix Makefile so it has android-sdk --- app/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Makefile b/app/Makefile index b7fe88d..5b92973 100644 --- a/app/Makefile +++ b/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 $@