Running make like this fails for me:
make -s -C ./ CHK_SOURCES=helloworld_flymake.c SYNTAX_CHECK_MODE=1 check-syntax
You need to expand your makefile to have a check-syntax target, which
should take the name of the file you're editing in CHK_SOURCES.
Set this if you want to get some logging from flymake in your
*Messages* buffer:
(setq flymake-log-level 3)
HTH,
Anselm
--
Anselm Helbig
mailto:anselm.helb...@googlemail.com
> When trying to run M-x Flymake-Mode in Emacs I get:
>
> Flymake: Configuration error has occured while running (make -s
> -C ./CHK_SOURCES=helloworld_flymake.c SYNTAX_CHECK_MODE=1
> check-syntax). Flymake will be switched OFF
I tried this today as well. Here is the answer :
,----[ (info "(flymake) Example -- Configuring a tool called via make") ]
|
| Thus, `Makefile' must contain the `check-syntax' target. In our case
| this target might look like this:
|
| check-syntax:
| gcc -o nul -S ${CHK_SOURCES}
`----
-ap