aboutsummaryrefslogtreecommitdiff
path: root/src/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/makefile')
-rw-r--r--src/makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/makefile b/src/makefile
index 3f74a2a..a0e8f02 100644
--- a/src/makefile
+++ b/src/makefile
@@ -1,8 +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 .. $@
-# TODO: re-enable linter after 2024-11-10
+LINT := $(shell git ls-files '*.c' '*.cpp' '*.h' '*.hpp')
+lint: FORCE
+ clang-tidy -p build/compile_commands.json --fix-errors $(LINT)