aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-14 10:47:53 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-14 10:47:53 +0200
commit477911553e0443fcafad5bd96c97314aa2f8d9ea (patch)
tree3825cba2552c0c4fe9cf64aecf065402db90f39e /Makefile
parentd09f8a08bdd9477bd463a2de03397ff56b5ce75d (diff)
downloadkogata-477911553e0443fcafad5bd96c97314aa2f8d9ea.tar.gz
kogata-477911553e0443fcafad5bd96c97314aa2f8d9ea.zip
Integration of scan-build and splint
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e7a3dfc..fd1bdc0 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,16 @@ all:
clean:
bam -c
+analyze:
+ scan-build -V bam
+
+reanalyze: clean analyze
+
+splint:
+ splint -I src/common/include src/common/*/*.c
+ splint -I src/common/include -I src/kernel/include src/kernel/*/*.c
+ splint -I src/common/include -I src/lib/include src/lib/*/*.c src/sysbin/*/*.c
+
rebuild: clean all
mrproper: clean