diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-01-26 11:56:53 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-01-26 11:56:53 +0100 |
commit | fa1f9af151526a6679d605c8af91d502cef90b75 (patch) | |
tree | b600601afa01fa8cc672c364381603c35eb61df1 /Makefile | |
parent | 699482118d0fa92ffc0a4a185bc35c6398f5f4fe (diff) |
Implement the basis of a function call
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -3,7 +3,7 @@ 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 build/list.o CC = cc -all: build_dir $(OBJ) +build: build_dir $(OBJ) $(CC) -o build/tsl $(OBJ) $(LIBS) clean: @@ -15,6 +15,9 @@ build_dir: compiledb: make clean; bear make +install: build + install -m +x -s build/tsl /usr/local/bin/tsl + build/main.o: src/main.c include/tokenizer.h $(CC) -c src/main.c -o build/main.o $(CFLAGS) |