diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-01-24 09:11:53 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-01-24 09:11:53 +0100 |
commit | 1dd53ce54c2008e3a11a636a496853cf6f9a5d65 (patch) | |
tree | 73f8ff8d048c8b1e4c6cf7acfd3e229650d044d5 /Makefile | |
parent | 26f8fbc2c657ecffc874410691dd3fc83ba11131 (diff) |
Convert hash map to gc, implement more instructions and call command
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
@@ -1,6 +1,6 @@ -CFLAGS = -Wall -Wextra -Werror -g3 -std=c89 -pedantic -fPIE +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/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 CC = cc all: build_dir $(OBJ) @@ -30,8 +30,14 @@ build/program.o: src/program.c include/program.h build/bytecode.o: src/bytecode.c include/bytecode.h $(CC) -c src/bytecode.c -o build/bytecode.o $(CFLAGS) +build/value.o: src/value.c include/value.h + $(CC) -c src/value.c -o build/value.o $(CFLAGS) + +build/command.o: src/command.c include/command.h + $(CC) -c src/command.c -o build/command.o $(CFLAGS) + build/buffer.o: src/std/buffer.c include/std/buffer.h $(CC) -c src/std/buffer.c -o build/buffer.o $(CFLAGS) -build/hash_map.o: src/std/hash_map.c include/std/hash_map.h - $(CC) -c src/std/hash_map.c -o build/hash_map.o $(CFLAGS) +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) |