diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-26 16:54:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-12-26 16:54:25 +0100 |
commit | f9f1ba795e1293ec1e358f935ac695ebac95018c (patch) | |
tree | cd54807671a742f597079d6a0ac14a042242d3e4 | |
parent | Makefile: DEBUG_TOOLS -> DEBUG and document (diff) | |
download | wireguard-tools-f9f1ba795e1293ec1e358f935ac695ebac95018c.tar.xz wireguard-tools-f9f1ba795e1293ec1e358f935ac695ebac95018c.zip |
Makefile: port static analysis check
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index de1a16c..e5b2230 100644 --- a/src/Makefile +++ b/src/Makefile @@ -104,6 +104,9 @@ version.h: echo "$$ver" > version.h && \ git update-index --assume-unchanged version.h || true -.PHONY: clean install version.h +check: clean + scan-build --html-title=wireguard-tools -maxloop 100 --view --keep-going $(MAKE) wg + +.PHONY: clean install version.h check -include *.d |