Makefile: port static analysis check

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2019-12-26 16:54:25 +01:00
parent ff7e5dfe30
commit f9f1ba795e

View file

@ -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