fix ./src/$(PACKAGE) to exist
This commit is contained in:
parent
be0786db68
commit
b8dbee59ad
1 changed files with 7 additions and 3 deletions
10
app/Makefile
10
app/Makefile
|
@ -47,15 +47,19 @@ include Makefile.app-config
|
|||
|
||||
|
||||
# make the resources "R.java" thing
|
||||
./src/$(PACKAGE)/R.java : $(shell find ./res -type f) app-config.sh ./AndroidManifest.xml ./android-sdk/installed
|
||||
./src/$(PACKAGE)/R.java : $(shell find ./res -type f) app-config.sh ./AndroidManifest.xml ./android-sdk/installed | ./src/$(PACKAGE)
|
||||
$(BUILDTOOLS)/aapt package \
|
||||
-v -f -m -S ./res -J ./src -M ./AndroidManifest.xml \
|
||||
-I $(ANDROID_JAR)
|
||||
|
||||
# generate the AppActivity.java (template)
|
||||
./src/$(PACKAGE)/AppActivity.java: app-config.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 $@
|
||||
|
||||
# install the necessary android sdks
|
||||
./android-sdk/installed: app-config.sh
|
||||
./.Makefile.scripts/make--android-sdk.sh
|
||||
|
|
Loading…
Add table
Reference in a new issue