From b2e3e39a39f3cfb4521d522eeba6cc4792db9479 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 3 Nov 2023 21:51:39 +0000 Subject: Added Makefile recipe to interpret all examples --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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= -- cgit v1.2.3-13-gbd6f