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