aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 14:50:11 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 14:50:11 +0100
commit7e0c99bd2b30500c265370fe71bce3f243a10837 (patch)
tree895010f77d0df220e54df377c51e112dad4f27b2 /src/makefile
parente714303c486fb81851116710ba5d68e1b469df02 (diff)
parentf78e8011ee77ba5303a5e608cc81c3b303d35943 (diff)
merge `master` into `max/unit-tests`
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/makefile b/src/makefile
index 5f80204..a0e8f02 100644
--- a/src/makefile
+++ b/src/makefile
@@ -1,6 +1,9 @@
.PHONY: FORCE
-FMT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp')
format: FORCE
- clang-tidy -p build/compile_commands.json --fix-errors $(FMT)
+ $(MAKE) -C .. $@
+
+LINT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp')
+lint: FORCE
+ clang-tidy -p build/compile_commands.json --fix-errors $(LINT)