diff --git a/Makefile.am b/Makefile.am index ca8c8a0aa1..b0d23d00c3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -55,6 +55,13 @@ shellcheck: done; \ fi +lint: cppcheck + +cppcheck: + @if type cppcheck > /dev/null 2>&1; then \ + cppcheck --quiet --force ${top_srcdir}; \ + fi + ctags: $(RM) tags find $(top_srcdir) -name .git -prune -o -name '*.[hc]' | xargs ctags