[1016] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[D-O-H] r1001 - trunk/owl

daemon@ATHENA.MIT.EDU (nelhage@MIT.EDU)
Thu Oct 29 18:12:09 2009

Resent-From: nelhage@mit.edu
Resent-To: barnowl-dev-mtg@charon.mit.edu
X-Original-To: nelhage@nelhage.com
To: dirty-owl-hackers@MIT.EDU
From: nelhage@MIT.EDU
Reply-to: dirty-owl-hackers@MIT.EDU
Date: Mon, 31 Mar 2008 11:52:39 -0400 (EDT)

Author: nelhage
Date: 2008-03-31 11:52:39 -0400 (Mon, 31 Mar 2008)
New Revision: 1001

Modified:
   trunk/owl/Makefile.in
Log:
Add a makefile rule to support emacs flymake-mode


Modified: trunk/owl/Makefile.in
===================================================================
--- trunk/owl/Makefile.in	2008-03-31 15:29:29 UTC (rev 1000)
+++ trunk/owl/Makefile.in	2008-03-31 15:52:39 UTC (rev 1001)
@@ -103,7 +103,7 @@
 	      mv -f owl_prototypes.h.new $@; }
 #owl_prototypes.h:
 
-.PHONY: tags clean distclean proto test
+.PHONY: tags clean distclean proto test check-syntax
 
 tags: TAGS
 
@@ -137,3 +137,7 @@
 
 installdirs: mkinstalldirs
 	${srcdir}/mkinstalldirs ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man1 ${DESTDIR}${datadir}
+
+# For emacs flymake-mode
+check-syntax: proto
+	$(CC) $(CFLAGS) -Wall -Wextra -pedantic -fsyntax-only $(CHK_SOURCES)


home help back first fref pref prev next nref lref last post