diff options
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) |