LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-03-2009, 08:54 AM   #1
sonu kumar
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: open suse
Posts: 28

Rep: Reputation: 17
Question Structure of "makefile"


hi dear all,


i want to make a "makefile" to compile and run a collection of programs written in fortran language.

I think to do this i need to have a "makefile". Am i right?

1)How can i prepare such a file?

2)What should i know to prepare a "makefile"?.
I know very little of flags etc. used in a "makefile".

with regards

sk
 
Old 12-03-2009, 08:57 AM   #2
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
http://www.eng.hawaii.edu/Tutor/Make/
 
1 members found this post helpful.
Old 12-03-2009, 09:53 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,273

Rep: Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663Reputation: 2663
Autotools links
http://www.gnu.org/software/autoconf/
http://www.gnu.org/software/automake/
http://sourceware.org/autobook/

http://www.freesoftwaremagazine.com/..._gnu_autotools
http://www.freesoftwaremagazine.com/...with_autotools
http://www.freesoftwaremagazine.com/..._with_autoconf

http://www.wlug.org.nz/MakefileHowto
.....
 
1 members found this post helpful.
Old 12-03-2009, 12:12 PM   #4
sonu kumar
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: open suse
Posts: 28

Original Poster
Rep: Reputation: 17
Thumbs up

Quote:
Originally Posted by sonu kumar View Post
hi dear all,


i want to make a "makefile" to compile and run a collection of programs written in fortran language.

I think to do this i need to have a "makefile". Am i right?

1)How can i prepare such a file?

2)What should i know to prepare a "makefile"?.
I know very little of flags etc. used in a "makefile".

with regards

sk
thanks for your help.
 
  


Reply

Tags
autotools


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
How to get reference to "sock" structure related to particular socket descriptor abhishek@LQ Linux - Networking 1 05-24-2009 12:07 PM
how to apply "chmod g+r" permissions to a deep file and directory structure htamayo Linux - Newbie 3 03-20-2009 04:45 PM
Perl scripting: Data structure similar to C's "struct" kenneho Programming 3 05-25-2008 09:20 AM
Makefile issue: "Makefile.src: File not found" m3rkury Linux - Software 1 02-22-2007 11:15 PM
"ifnet structure (regarding configured interfaces)header file in linux9?" deepender Programming 0 12-07-2003 01:11 AM


All times are GMT -5. The time now is 02:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration