[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Flymake for c programs
From: |
andrea |
Subject: |
Flymake for c programs |
Date: |
Thu, 10 Dec 2009 01:18:08 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (darwin) |
I love flymake and I use it almost everywhere.
I would like to use it also with c files, but is it possible to use it
also without Makefiles?
Also after I added a simple Makefile it gives me a syntax check error,
this is the code I was trying.
--8<---------------cut here---------------start------------->8---
#include <stdlib.h>
int main(int argc, char *argv[])
{
printf("hello world");
return 0;
}
--8<---------------cut here---------------end--------------->8---
And the makefile simply
--8<---------------cut here---------------start------------->8---
all: hello
hello: prova.o
cc prova.c -o prova
clean:
rm -v *o
--8<---------------cut here---------------end--------------->8---
Any idea?
Regards,
Andrea
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Flymake for c programs,
andrea <=