aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 14:33:20 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-11-20 14:33:20 +0100
commit81664b46f5cb7c28d629ddafe4cbea7e717d62d2 (patch)
tree9a14cb4e490e74f5af344bd77d41f57c39d0412d /src/makefile
parentd623b13dab63408cf5e99dbc453636f174bc6fe8 (diff)
parentd4dd3ceab2b95c26f3b07092a5c80f47eab18110 (diff)
Merge branch 'master' into niels/RenderingParticle
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)