X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=977d44d31f2fde2395d54ca12a0994b5458d2e53;hp=7e47d3926aa2ccad0aeea0def5a2bbe68bfbfb80;hb=4de819fe1707a85b7d8b2224707d35b0dfcfa398;hpb=56c19a4f2a0091a3fe23712cbbc6c6e379572ffe 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 \