[sheepdog] [PATCH] lib: add support for GNU Flymake

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Tue Oct 30 01:53:48 CET 2012


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 lib/Makefile.am |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1c962fd..49a79d2 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -5,3 +5,7 @@ INCLUDES                = -I$(top_builddir)/include -I$(top_srcdir)/include
 noinst_LIBRARIES	= libsheepdog.a
 
 libsheepdog_a_SOURCES	= event.c logger.c net.c util.c rbtree.c strbuf.c sha1.c
+
+# support for GNU Flymake
+check-syntax:
+	$(COMPILE) -fsyntax-only $(CHK_SOURCES)
-- 
1.7.2.5




More information about the sheepdog mailing list