aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-05 05:04:30 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-06-05 19:29:05 +0800
commit3d1f8a776ca187ee211cdd2361b0aab79def6834 (patch)
tree81c47fcf61a170211d3ee946c2971b817f4bde8d /tools
parent26ee37e8b33a4df369558a7ba150839455663680 (diff)
downloadgsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.tar
gsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.tar.gz
gsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.tar.bz2
gsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.tar.lz
gsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.tar.xz
gsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.tar.zst
gsoc2013-empathy-3d1f8a776ca187ee211cdd2361b0aab79def6834.zip
Add simple flymake support.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile.am1
-rw-r--r--tools/flymake.mk4
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 05da7439b..8662b44ae 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -15,6 +15,7 @@ EXTRA_DIST = \
check-misc.sh \
check-whitespace.sh \
doc-generator.xsl \
+ flymake.mk \
glib-client-gen.py \
glib-client-marshaller-gen.py \
glib-errors-enum-body-gen.py \
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