aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-01-18 08:35:24 +0100
committerdec05eba <dec05eba@protonmail.com>2020-01-18 08:35:24 +0100
commit1dbef1bfdefe8d7967a360f00d350db307d344e2 (patch)
tree3e7859156e1930488234fbb76c0120250218c5f3 /Makefile
parent1d69979eef57e313ca35b3610cfedf84ca39ae63 (diff)
Add list, map and command parsing
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)