- Commit
- 6f039027f8ebff929d6ee1bf4a357832154a9ad3
- Parent
- a5c3cda8acf1cb22f04b41c9edcc06938468b12a
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Improved clang-check target.
My personal build of CMark ✏️
Improved clang-check target.
1 file changed, 3 insertions, 2 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | Makefile | 5 | 3 | 2 |
diff --git a/Makefile b/Makefile @@ -18,6 +18,7 @@ BENCHINP?=README.md VERSION?=$(SPECVERSION) RELEASE?=CommonMark-$(VERSION) INSTALL_PREFIX?=/usr/local +CLANG_CHECK?=clang-check .PHONY: all cmake_build spec leakcheck clean fuzztest dingus upload test update-site upload-site debug ubsan asan mingw archive bench astyle update-spec afl clang-check @@ -78,8 +79,8 @@ afl: -t 100 \ $(CMARK) $(CMARK_OPTS) -clang-check: - find src -name '*.c' | xargs $$CLANG_CHECK_PATH/bin/clang-check -p build -analyze +clang-check: all + ${CLANG_CHECK} -p build -analyze src/*.c mingw: mkdir -p $(MINGW_BUILDDIR); \