From 9c4696300296c784eab300791593e32dbe0df27e Mon Sep 17 00:00:00 2001 From: Dave Davenport Date: Fri, 16 Jan 2015 08:34:11 +0100 Subject: [PATCH] Add cppcheck target. --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile.am b/Makefile.am index 7a0c86e1..e2400e4f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -132,3 +132,9 @@ test: ${bin_PROGRAMS} $(top_srcdir)/test/run_test.sh 203 $(top_srcdir)/test/run_dmenu_custom_test.sh $(top_builddir) $(top_srcdir)/doc/example.xresources $(top_srcdir)/test/run_test.sh 204 $(top_srcdir)/test/run_run_test.sh $(top_builddir) $(top_srcdir)/doc/example.xresources $(top_srcdir)/test/run_test.sh 205 $(top_srcdir)/test/run_script_test.sh $(top_builddir) $(top_srcdir)/doc/example.xresources + + +.PHONY: cppcheck + +cppcheck: ${rofi_SOURCES} + cppcheck --std=c99 --platform=unix64 --enable=all -Uerror_dialog -I ${top_srcdir}/include/ $^