aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e14b47..f6ec581 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CFLAGS = -Wall -Wextra -Werror -g3 -std=c89 -pedantic -fPIE -DDEBUG
LIBS = -lgc
-OBJ = build/main.o build/tokenizer.o build/parser.o build/program.o build/bytecode.o build/value.o build/command.o build/buffer.o build/hash_map.o
+OBJ = build/main.o build/tokenizer.o build/parser.o build/program.o build/bytecode.o build/value.o build/command.o build/buffer.o build/hash_map.o build/list.o
CC = cc
all: build_dir $(OBJ)
@@ -41,3 +41,6 @@ build/buffer.o: src/std/buffer.c include/std/buffer.h
build/hash_map.o: src/std_gc/hash_map.c include/std_gc/hash_map.h
$(CC) -c src/std_gc/hash_map.c -o build/hash_map.o $(CFLAGS)
+
+build/list.o: src/std_gc/list.c include/std_gc/list.h
+ $(CC) -c src/std_gc/list.c -o build/list.o $(CFLAGS)