LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Structure of "makefile" (https://www.linuxquestions.org/questions/linux-newbie-8/structure-of-makefile-773190/)

sonu kumar 12-03-2009 07:54 AM

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

MTK358 12-03-2009 07:57 AM

http://www.eng.hawaii.edu/Tutor/Make/

knudfl 12-03-2009 08:53 AM

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
.....

sonu kumar 12-03-2009 11:12 AM

Quote:

Originally Posted by sonu kumar (Post 3778332)
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.


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