aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-12-26 16:54:25 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2019-12-26 16:54:25 +0100
commitf9f1ba795e1293ec1e358f935ac695ebac95018c (patch)
treecd54807671a742f597079d6a0ac14a042242d3e4 /src
parentMakefile: DEBUG_TOOLS -> DEBUG and document (diff)
downloadwireguard-tools-f9f1ba795e1293ec1e358f935ac695ebac95018c.tar.xz
wireguard-tools-f9f1ba795e1293ec1e358f935ac695ebac95018c.zip
Makefile: port static analysis check
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile5
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