This enables an on-the-fly syntax checker for Emacs. Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> --- collie/Makefile.am | 4 ++++ sheep/Makefile.am | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/collie/Makefile.am b/collie/Makefile.am index 515b97a..82fde03 100644 --- a/collie/Makefile.am +++ b/collie/Makefile.am @@ -39,3 +39,7 @@ all-local: clean-local: rm -f collie *.o gmon.out *.da *.bb *.bbg + +# support for GNU Flymake +check-syntax: + $(COMPILE) -fsyntax-only $(CHK_SOURCES) diff --git a/sheep/Makefile.am b/sheep/Makefile.am index 5883d7c..2f51702 100644 --- a/sheep/Makefile.am +++ b/sheep/Makefile.am @@ -40,3 +40,7 @@ all-local: clean-local: rm -f sheep *.o gmon.out *.da *.bb *.bbg + +# support for GNU Flymake +check-syntax: + $(COMPILE) -fsyntax-only $(CHK_SOURCES) -- 1.5.6.5 |