Makefile: port static analysis check
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
ff7e5dfe30
commit
f9f1ba795e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue