aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-11-02 23:30:17 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-11-02 23:30:17 +0000
commit698a823bf2cd93b31a65b0ac8956b827a59cd102 (patch)
tree3926400168db7a124dde6895c72ac97df8219bcf
parent07f64b796d3aa2ca33496df019148d4d9f18eb3e (diff)
downloadovm-698a823bf2cd93b31a65b0ac8956b827a59cd102.tar.gz
ovm-698a823bf2cd93b31a65b0ac8956b827a59cd102.tar.bz2
ovm-698a823bf2cd93b31a65b0ac8956b827a59cd102.zip
Added recipes to assemble or interpret individually
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7badbbe..237e92e 100644
--- a/Makefile
+++ b/Makefile
@@ -98,6 +98,14 @@ clean:
SOURCE=
BYTECODE=
+.PHONY: assemble
+assemble: $(ASM_OUT)
+ @$(ASM_OUT) $(SOURCE) $(BYTECODE)
+
+.PHONY: interpret
+interpret: $(VM_OUT)
+ @$(VM_OUT) $(BYTECODE)
+
.PHONY: exec
exec: $(ASM_OUT) $(VM_OUT)
@$(ASM_OUT) $(SOURCE) $(BYTECODE)