From: Jason A. Donenfeld Date: Thu, 26 Dec 2019 15:54:25 +0000 (+0100) Subject: Makefile: port static analysis check X-Git-Tag: v1.0.20200102~8 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f9f1ba795e1293ec1e358f935ac695ebac95018c;p=thirdparty%2Fwireguard-tools.git Makefile: port static analysis check Signed-off-by: Jason A. Donenfeld --- 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