aboutsummaryrefslogtreecommitdiffstats
path: root/tools/flymake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/flymake.mk')
-rw-r--r--tools/flymake.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/flymake.mk b/tools/flymake.mk
new file mode 100644
index 000000000..020a7bfbf
--- /dev/null
+++ b/tools/flymake.mk
@@ -0,0 +1,4 @@
+check-syntax:
+ $(CC) $(AM_CPPFLAGS) $(AM_CFLAGS) -fsyntax-only $(CHK_SOURCES)
+
+.PHONY: check-syntax