From 9a2fd09e41cc2ca63c12e4a76e3ce941a68df469 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Mon, 14 Aug 2017 13:38:06 +0100 Subject: [PATCH] vars.am: Experimental hack for Emacs `flymake'. I'm not sure whether this will stay here, but it seems harmless enough. --- vars.am | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vars.am b/vars.am index be1847f5..b99cfcfe 100644 --- a/vars.am +++ b/vars.am @@ -130,4 +130,12 @@ SUFFIXES += .c .t$(EXEEXT) .to .PRECIOUS: %.to %.t$(EXEEXT) CLEANFILES += *.to *.t$(EXEEXT) +###-------------------------------------------------------------------------- +### Experimental flymake hack. + +check-syntax: + $(COMPILE) -S -o/dev/null \ + -DTEST_RIG -DSRCDIR=\"$(SRCDIR)\" \ + $(CHK_SOURCES) + ###----- That's all, folks -------------------------------------------------- -- 2.11.0