aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-22 14:32:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-22 14:32:19 +0200
commit33d17dbab86c1277a1327273fb9753b2c98b7b03 (patch)
treee868c781953faeb5227787d130d208b93ff49147 /makefile
parent5113ffd3b0b3c761681456fae5ed554c2b35cc8d (diff)
more documentation
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/makefile b/makefile
index 5f5340b..090877e 100644
--- a/makefile
+++ b/makefile
@@ -1,5 +1,12 @@
all: doxygen
-doxygen: Doxyfile
+.PHONY: FORCE
+
+doxygen: Doxyfile FORCE
doxygen
+FMT += $(shell git ls-files '*.h' '*.c' '*.cpp')
+format: FORCE
+ clang-format -i $(FMT)
+ clang-tidy --fix-errors $(FMT)
+