From adea4281a7699bc1cabfe406849e1873af0026a8 Mon Sep 17 00:00:00 2001 From: leitner Date: Tue, 14 Jul 2020 16:08:26 +0000 Subject: [PATCH] add static analyzer targets --- GNUmakefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/GNUmakefile b/GNUmakefile index 2eefef0..19f7871 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -390,3 +390,11 @@ entities.h: entities.json ent ./ent scan_html.o: entities.h + +sa1: + $(MAKE) clean + scan-build $(MAKE) DIET= -j8 + +sa2: + $(MAKE) clean + $(MAKE) DIET= CC="gcc -fanalyzer" -j8