[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: flymake configuration error for C program
From: |
Andreas Politz |
Subject: |
Re: flymake configuration error for C program |
Date: |
Mon, 07 Sep 2009 00:23:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Corey Foote <coreyfoote@hotmail.com> writes:
> 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