diff options
author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-20 13:27:17 +0100 |
---|---|---|
committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-11-20 13:27:17 +0100 |
commit | 9836b2225d11b629349e7abd6afcc1e4d41aa4f9 (patch) | |
tree | 67ca1dab6624315be6d7d5c23b5ee4f4124a1df4 /src/makefile | |
parent | 5121e95e5ba98ca5cadfb63b7603731dfb41a322 (diff) | |
parent | d4dd3ceab2b95c26f3b07092a5c80f47eab18110 (diff) |
Merge remote-tracking branch 'origin/master' into niels/sorting_rendering
Diffstat (limited to 'src/makefile')
-rw-r--r-- | src/makefile | 7 |
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) |