[build] Add %_run targets to linux, macos and windows platforms

This commit is contained in:
Émilie Feral
2020-11-10 09:52:54 +01:00
committed by LeaNumworks
parent 0dcb4e9aff
commit 80f3af389f
3 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
.PHONY: %_run
%_run: $(BUILD_DIR)/%.$(EXE)
$(call rule_label,EXE)
$(Q) ./$^

View File

@@ -0,0 +1,4 @@
.PHONY: %_run
%_run: $(BUILD_DIR)/%.app
$(call rule_label,OPEN)
$(Q) open $^

View File

@@ -0,0 +1,4 @@
PHONY: %_run
t %_run: $(BUILD_DIR)/%.$(EXE)
$(call rule_label,EXE)
$(Q) ./$^