diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-01-23 03:09:54 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-01-23 03:09:54 +0100 |
commit | cc30a97ab90a8fa40707936d3d089d81c49559b6 (patch) | |
tree | c6544b785395cf12b8c9f4c65c3f8ebb9699232d /Makefile | |
parent | b7f056a73ad4053eb2284c54873dfb3888dcb430 (diff) |
Add bytecode decoding.. starting on program execution now
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |