diff options
| author | João Távora | 2018-06-02 00:12:30 +0100 |
|---|---|---|
| committer | João Távora | 2018-06-02 01:47:19 +0100 |
| commit | 6a672b792512e5c70254844dd59e0ec1ef0870ba (patch) | |
| tree | 19fdcf8ff3a286d6b25cc673e5e0856fdda0058c /src | |
| parent | 86ace8fbf65c7b2ea8b5c4bd16f8c76debb97cf2 (diff) | |
| download | emacs-6a672b792512e5c70254844dd59e0ec1ef0870ba.tar.gz emacs-6a672b792512e5c70254844dd59e0ec1ef0870ba.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 1d23425969c..a1ec0bd7f7b 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -754,3 +754,8 @@ else | |||
| 754 | endif | 754 | endif |
| 755 | @: Compile some files earlier to speed up further compilation. | 755 | @: Compile some files earlier to speed up further compilation. |
| 756 | $(MAKE) -C ../lisp compile-first EMACS="$(bootstrap_exe)" | 756 | $(MAKE) -C ../lisp compile-first EMACS="$(bootstrap_exe)" |
| 757 | |||
| 758 | ### Flymake support (for C only) | ||
| 759 | check-syntax: | ||
| 760 | $(AM_V_CC)$(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) ${CHK_SOURCES} || true | ||
| 761 | .PHONY: check-syntax | ||