aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 14:01:04 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 14:01:04 +0100
commitd79148947bc43764b041687b7c6ad2d6c944f70b (patch)
tree0781e6960f040662d03788ea6e2d7dce2828a087 /src/makefile
parent4d1c6f1831e0a95029ff7af4cf8097e837dc2a5d (diff)
parentf78e8011ee77ba5303a5e608cc81c3b303d35943 (diff)
merge `master` into `loek/util`
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)