From cc30a97ab90a8fa40707936d3d089d81c49559b6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 23 Jan 2020 03:09:54 +0100 Subject: Add bytecode decoding.. starting on program execution now --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 15de48f..16e7513 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CFLAGS = -Wall -Wextra -Werror -g3 -std=c89 -pedantic -fPIE LIBS = -lgc -OBJ = build/main.o build/tokenizer.o build/parser.o build/bytecode.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/buffer.o build/hash_map.o CC = cc all: build_dir $(OBJ) @@ -24,6 +24,9 @@ build/tokenizer.o: src/tokenizer.c include/tokenizer.h build/parser.o: src/parser.c include/parser.h $(CC) -c src/parser.c -o build/parser.o $(CFLAGS) +build/program.o: src/program.c include/program.h + $(CC) -c src/program.c -o build/program.o $(CFLAGS) + build/bytecode.o: src/bytecode.c include/bytecode.h $(CC) -c src/bytecode.c -o build/bytecode.o $(CFLAGS) -- cgit v1.2.3