I\'m writing a C program using gcc in cygwin. My question is, how do you create a makefile? I mean, what file-extension does it have? I know how to write simple rules, but I can
They are usually named Makefile, or makefile. No extension. That's just convention, though.
Makefile
makefile
It's not trivial to write a makefile, look up a guide or tutorial =)