[build] Move %_run targets in the build dir

This commit is contained in:
Romain Goyet
2020-04-02 21:34:30 -04:00
committed by Ecco
parent ed7038262c
commit d4149b1a3d
4 changed files with 16 additions and 12 deletions

View File

@@ -1,3 +1,8 @@
ifndef ARCH
HANDY_TARGETS_EXTENSIONS += apk
endif
.PHONY: %_run
%_run: $(BUILD_DIR)/%.apk
$(call rule_label,ADB)
$(Q) adb install $<

View File

@@ -0,0 +1,10 @@
ifndef ARCH
HANDY_TARGETS_EXTENSIONS += apk
endif
ifeq ($(APPLE_PLATFORM),ios-simulator)
.PHONY: %_run
%_run: $(BUILD_DIR)/%.app
$(call rule_label,XCRUN)
$(Q) xcrun simctl install booted $^
endif