summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-22 00:46:42 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-22 00:46:42 +0100
commit3abc76cce48f3ae66e28ec99af648dc5fdf8bf4a (patch)
tree9d17390261bbfe5fcfbf349104a9af85f30e6a9d /Makefile
parent52040cc19cbdca48f91d4eb91e9b7a782bb5fbd0 (diff)
downloadcrep-3abc76cce48f3ae66e28ec99af648dc5fdf8bf4a.tar.gz
Add better tests and testing suit
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