aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-21 09:46:06 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-21 09:46:06 +0100
commit7588439db08a671764345764eb05bcb853a90d76 (patch)
tree6847d8aa1b1b911dde55d529330c7144c6fafbf0 /src/makefile
parentba3b97467ffa9df03d74e87bd567e3dfc521df05 (diff)
parent1cc120a0031cfc19c35240da8390d9129b4d75a3 (diff)
Merge remote-tracking branch 'origin/master' into max/doxygen
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)