aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-25 09:48:56 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-25 09:48:56 +0100
commit4b2b8d3176e84f76510cc69a627dbfa089c1dd35 (patch)
tree67e3324b3452cf2b09e51a91acd1e5dec9d89040 /Makefile
parent1dd53ce54c2008e3a11a636a496853cf6f9a5d65 (diff)
Implement almost all instructions
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)