From fa1f9af151526a6679d605c8af91d502cef90b75 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 26 Jan 2020 11:56:53 +0100 Subject: Implement the basis of a function call --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f6ec581..095856f 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3