Extension of Makefile
Dear All,
I am new to the Linux, and we want to develop simple C project in the Linux, which includes more than one C file and header files, now as i search on the net to create the project with more than one file, i ll require a make file and for that i can create it into the GNU Emacs, but i am confused about the extension of Makefile, what could be the extension of Makefile? is there any specific extension for Makefile, or there is nothing like extension in the make file and if i ll create the make file and save it, then what exension i should give to save the makefile? Thanks in Advance, Nishant |
As a rule of thumb, extensions don't mean much to most programs in Linux.
The name of a makefile is traditionally just that, "Makefile", with a capital M. Some people will append a .mak, but the consequence is that you have to invoke make -f filename.mak rather than just going make Cheers, Tink |
Quote:
Thanks for the reply first of all to give me this information, which i didnt know at anyways, but i am still confused about saving the Makefile after creating it in Linux, if i am designing Makefile for my project, then with which extension i should save it? should there be any particular extension or any extension is acceptable? Please forgive me if i am asking a silly question, but i am new to the Linux and i want to know this... Thanks, Nishant |
Quote:
Cheers, Tink |
All times are GMT -5. The time now is 08:49 AM. |