aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-03 21:51:39 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-03 21:51:46 +0000
commitb2e3e39a39f3cfb4521d522eeba6cc4792db9479 (patch)
tree905087b71977957172ab673ecab3d7325a5a090e /Makefile
parente9eead117702f84b281a17b4c840721d14e64581 (diff)
downloadovm-b2e3e39a39f3cfb4521d522eeba6cc4792db9479.tar.gz
ovm-b2e3e39a39f3cfb4521d522eeba6cc4792db9479.tar.bz2
ovm-b2e3e39a39f3cfb4521d522eeba6cc4792db9479.zip
Added Makefile recipe to interpret all examples
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=