diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-07-15 13:39:32 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-07-15 13:39:32 -0700 |
commit | 6f039027f8ebff929d6ee1bf4a357832154a9ad3 (patch) | |
tree | f0c13a89ba6a9651d82fe013034cd42a1824e2de | |
parent | a5c3cda8acf1cb22f04b41c9edcc06938468b12a (diff) |
Improved clang-check target.
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); \ |