aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-16 01:06:49 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-16 01:18:05 +0100
commit6038363d2facd5c8a79d9c4920ca5b3cf70bef95 (patch)
treeb848954978e0706c64e0755a0a4e723af2c170c8 /Makefile
parenta24a096e2a6fb8c48ae5a71673e82dccb627c2b9 (diff)
downloadovm-6038363d2facd5c8a79d9c4920ca5b3cf70bef95.tar.gz
ovm-6038363d2facd5c8a79d9c4920ca5b3cf70bef95.tar.bz2
ovm-6038363d2facd5c8a79d9c4920ca5b3cf70bef95.zip
Added functionality to read and write instruction bytecode
Uses some bit hacks to quickly check what data type an opcode may have by shifting down to units then casting it to a data_type_t. Not very well tested yet, we'll need to see now.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 566f41a..a0106b3 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ OUT=ovm.out
SRC=src
DIST=build
-CODE=$(addprefix $(SRC)/, darr.c runtime.c main.c)
+CODE=$(addprefix $(SRC)/, darr.c inst.c runtime.c main.c)
OBJECTS=$(CODE:$(SRC)/%.c=$(DIST)/%.o)
DEPS=$(OBJECTS:%.o=%.d)