Makefile: Add support for make check to run cppcheck

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2014-04-12 16:08:30 +02:00
1 parent 7cf7591f0a
commit 7ada824e3e
2 files changed
+4

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ ROOTDIR ?= $(TOPDIR)
JUNK = *~ *.bak *.aux *.dvi *.idx *.ind *.log *.ps *.map .*.d DEADJOE semantic.cache *.gdb *.elf core core.*
MAKE := @$(MAKE)
MAKEFLAGS = --no-print-directory --silent
CHECK := cppcheck $(CPPFLAGS) --quiet --enable=all
INSTALL := install --backup=off
STRIPINST := $(INSTALL) -s --strip-program=$(CROSS)strip -m 0755