diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore index 02ca4b712..6b4d5ced2 100644 --- a/.gitignore +++ b/.gitignore @@ -354,3 +354,4 @@ patches/ /sysctl.d /coccinelle mask_po_files.sh +cccc diff --git a/Makefile.am b/Makefile.am index 7e47d3926..977d44d31 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1600,7 +1600,11 @@ install-tests: $(tests) $(TEST_DATA_FILES) install -D -m 644 $(top_srcdir)/$$f $(DESTDIR)/$(testsdir)/testdata/$${f#test/}; \ done -.PHONY: cppcheck +.PHONY: cccc cppcheck +cccc: all + cccc --outdir=$(top_builddir)/cccc \ + `find $(top_srcdir)/src/ -name '*.h' -or -name '*.c'` + cppcheck: cppcheck --enable=all -q \ -I $(top_srcdir)/src \ |