diff options
author | Alex Auvolat <alex@adnab.me> | 2016-07-15 19:20:08 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2016-07-15 19:20:08 +0200 |
commit | 327d62f7d56f79999cac6407bdfdcc0b90510aef (patch) | |
tree | a81070cfaabb4f5d53f8d2099dfe9943bf319d52 /Makefile | |
parent | 2f13288a23da4dfaf6c40e1e943f83d8fa43145a (diff) | |
download | kogata-327d62f7d56f79999cac6407bdfdcc0b90510aef.tar.gz kogata-327d62f7d56f79999cac6407bdfdcc0b90510aef.zip |
cppcheck integration ; not much
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -9,6 +9,12 @@ analyze: reanalyze: clean analyze +CHKFLAGS=--enable=warning,performance,information,style --suppress=portability -I src/common/include -j4 --platform=unix32 +cppcheck: + cppcheck $(CHKFLAGS) src/common 2>&1 >/dev/null | tee build/cppcheck.log + cppcheck $(CHKFLAGS) -I src/kernel/include src/kernel 2>&1 >/dev/null | tee -a build/cppcheck.log + cppcheck $(CHKFLAGS) -I src/lib/include src/lib src/sysbin 2>&1 >/dev/null | tee -a build/cppcheck.log + rebuild: clean all mrproper: clean |