aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..2ea1c3d
--- /dev/null
+++ b/makefile
@@ -0,0 +1,13 @@
+all: doxygen
+
+.PHONY: FORCE
+
+doxygen: Doxyfile FORCE
+ doxygen
+
+FMT += $(shell git ls-files '*.h' '*.c' '*.cpp')
+format: FORCE
+ clang-format -i $(FMT)
+# clang tidy doesn't work that well :/
+# clang-tidy --fix-errors $(FMT)
+