summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 311faaa..13267a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+.PHONY: all query ts-build ts-clean valgrind tests format clean
+
TARGET = crep
SOURCES = $(wildcard *.c *.h)
TS_ALIBS = $(shell find vendor -name "*.a" -print)
@@ -42,6 +44,9 @@ ts-clean:
valgrind:
valgrind -s --leak-check=full ./$(TARGET)
+tests: $(TARGET)
+ sh tests.sh
+
format:
clang-format -i *.c *.h