aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 21c7611..b982892 100644
--- a/Makefile
+++ b/Makefile
@@ -85,6 +85,10 @@ $(EXAMPLES_DIST)/%.out: $(EXAMPLES_SRC)/%.asm $(ASM_OUT)
@$(ASM_OUT) $< $@
@echo -e "$(TERM_GREEN)$@$(TERM_RESET): $<"
+.PHONY: run-examples
+run-examples: $(EXAMPLES)
+ $(foreach example,$(EXAMPLES),$(MAKE) interpret BYTECODE=$(example);)
+
OUT=
ARGS=