This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: fortran makefiles
- From: Anton Shterenlikht <mexas at bristol dot ac dot uk>
- To: nmm1 at cam dot ac dot uk, simon dot reinhardt at stud dot uni-regensburg dot de
- Cc: fortran at gcc dot gnu dot org
- Date: Fri, 28 Sep 2012 12:34:07 +0100 (BST)
- Subject: Re: fortran makefiles
- Reply-to: mexas at bristol dot ac dot uk
From: "N.M. Maclaren" <nmm1@cam.ac.uk>
On Sep 28 2012, Simon Reinhardt wrote:
>
>where can I find information on fortran makefiles, when using gfortran?
>Is there some canonical way to deal with .mod files in a makefile?
>thanks for your advice!
Go to the following page, on to the further information, and look at
lecture 8. It is very brief, but gives the essentials.
http://www.ucs.cam.ac.uk/docs/course-notes/unix-courses/Fortran
In one of the appendices to
Metcalf et all (2011) Modern fortran explained, OUP
http://ukcatalogue.oup.com/product/9780199601424.do
There is an example makefile (or several)
solving the module logic.
Anton