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 am invoking the command in a buffer called helloworld.c:
#include <stdio.h>
int main(void) {
printf("Hello World");
return 0;
}
And have a file called Makefile in the same directory:
helloworld: helloworld.c
gcc helloworld.c -o helloworld
I'm running GNU Emacs 23.0.91.1 under Ubuntu 9.04.
Thanks in advance!