[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6a672b7: Minimally support Flymake in Emacs C sourc
From: |
João Távora |
Subject: |
[Emacs-diffs] master 6a672b7: Minimally support Flymake in Emacs C sources |
Date: |
Fri, 1 Jun 2018 20:52:51 -0400 (EDT) |
branch: master
commit 6a672b792512e5c70254844dd59e0ec1ef0870ba
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>
Minimally support Flymake in Emacs C sources
The check-syntax target is enabled the use of Flymake's "legacy"
backend, flymake-proc-legacy-flymake in src/*.c. It works quite well
with C sources. The green light for this change had already been
given some time ago in
https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00385.html
* src/Makefile.in (check-syntax): New target.
(.PHONY): Add check-syntax.
---
src/Makefile.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/Makefile.in b/src/Makefile.in
index 1d23425..a1ec0bd 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -754,3 +754,8 @@ else
endif
@: Compile some files earlier to speed up further compilation.
$(MAKE) -C ../lisp compile-first EMACS="$(bootstrap_exe)"
+
+### Flymake support (for C only)
+check-syntax:
+ $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) ${CHK_SOURCES} || true
+.PHONY: check-syntax
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 6a672b7: Minimally support Flymake in Emacs C sources,
João Távora <=