aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8b6cb84..9ab88c1 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,12 @@ OBJ = main.o tokenizer.o parser.o
all: $(OBJ)
cc -o tsl $(OBJ) -fPIE
+clean:
+ rm $(OBJ) tsl
+
+compiledb:
+ make clean; bear make
+
main.o: src/main.c include/tokenizer.h
cc -c src/main.c $(CFLAGS)