LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-26-2006, 04:13 AM   #1
Nishant Desai
Member
 
Registered: Jul 2006
Posts: 100
Blog Entries: 1

Rep: Reputation: 15
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
 
Old 08-26-2006, 04:35 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
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
 
Old 08-26-2006, 05:09 AM   #3
Nishant Desai
Member
 
Registered: Jul 2006
Posts: 100

Original Poster
Blog Entries: 1

Rep: Reputation: 15
Quote:
Originally Posted by Tinkster
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
Dear Tink,
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
 
Old 08-26-2006, 03:16 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Quote:
The name of a makefile is traditionally just that, "Makefile", with a
capital M.
No extension.


Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux file extension vs Dos file Extension? manaa Linux - Newbie 6 02-12-2009 04:19 PM
what is the meaning of Makefile,Makefile.am,Makefile.in cynthia_thomas Linux - General 3 12-08-2005 05:00 AM
How to modify makefile.in or makefile.am QiangWan Linux - Newbie 1 05-17-2005 11:07 AM
how to get (makefile -f makefile )output into the textview widget in Pygtk sailu_mvn Programming 3 02-28-2005 03:57 AM
generate Makefile from Makefile.in without calling ./configure ? chris78 Programming 2 05-02-2004 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration