aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 12:55:15 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 12:55:15 +0200
commit02d658a7ed92bacfdaed587102f0d2e5f6c5dc01 (patch)
tree1195a0a46b9ce4af470652fecd5c3a3a917c2c58 /src/makefile
parentb649adda67ed52c2e3bdcd5aa2cb4b9b0954cf16 (diff)
parentb5a5d9b1d4725f3001486c9bbd69263ed0918303 (diff)
Merge branch 'loek/cleanup' into loek/scripts
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/makefile b/src/makefile
new file mode 100644
index 0000000..c1ef601
--- /dev/null
+++ b/src/makefile
@@ -0,0 +1,6 @@
+.PHONY: FORCE
+
+FMT += $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp')
+format: FORCE
+ clang-tidy -p build/compile_commands.json --fix-errors $(FMT)
+