aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-15 21:49:30 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-15 21:50:31 +0100
commitc24c1d160702f227cede324999bb5fbd15c7f312 (patch)
tree6478cc8bfe5ec24cfe283af084c6ea191a3d87ab /Makefile
parent98760ee63b6721c440c120df1a4cc638bc36eb22 (diff)
downloadovm-c24c1d160702f227cede324999bb5fbd15c7f312.tar.gz
ovm-c24c1d160702f227cede324999bb5fbd15c7f312.tar.bz2
ovm-c24c1d160702f227cede324999bb5fbd15c7f312.zip
Implemented a dynamically sized byte array
Pretty simple, want to ensure amortised constant big O so I use a REALLOC_MULT, which can be redefined if wished.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a89b547..566f41a 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ OUT=ovm.out
SRC=src
DIST=build
-CODE=$(addprefix $(SRC)/, runtime.c main.c)
+CODE=$(addprefix $(SRC)/, darr.c runtime.c main.c)
OBJECTS=$(CODE:$(SRC)/%.c=$(DIST)/%.o)
DEPS=$(OBJECTS:%.o=%.d)