[build] The all target can live in a standalone Makefile

This commit is contained in:
Romain Goyet
2020-04-03 22:30:58 -04:00
committed by EmilieNumworks
parent a840e7fb05
commit 88912be9a8
2 changed files with 5 additions and 4 deletions

View File

@@ -1,3 +1,6 @@
# This is a standalone Makefile
# Invoke using "make -f build/all.mak"
ANDROID_GRADLE_KEYSTORE ?= ~/.gradle/google-play-upload.keystore
ANDROID_GRADLE_PROPERTIES ?= ~/.gradle/gradle.properties
IOS_MOBILE_PROVISION ?= build/artifacts/NumWorks_Graphing_Calculator_Distribution.mobileprovision
@@ -23,8 +26,8 @@ define command_check
fi
endef
.PHONY: all_official
all_official:
.PHONY: all
all:
$(call file_check,$(ANDROID_GRADLE_KEYSTORE))
$(call file_check,$(ANDROID_GRADLE_PROPERTIES))
$(call file_check,$(IOS_MOBILE_PROVISION))

View File

@@ -81,5 +81,3 @@ $(1).$(2): $$(BUILD_DIR)/$(1).$(2)
endef
$(foreach extension,$(HANDY_TARGETS_EXTENSIONS),$(foreach executable,$(HANDY_TARGETS),$(eval $(call handy_target_rule,$(executable),$(extension)))))
include build/targets.all.mak