aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 18:07:48 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-20 18:07:48 +0100
commita67c52325bc8cbd264293b9dcc217fc07bfbaf57 (patch)
treefd662601aab7218795d704cbbab99ac82e1dd4ac /src/makefile
parent91bb45fd6430cc353d2a57f2496c3e9945e98557 (diff)
merge `master` into `loek/collision-system`
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)