Program to create a Makefile

Peter Willis pwillis@aslenv.com
Wed Jun 2 15:30:00 GMT 2010


Francisco Pena wrote:
> Hi,
> 
> I just create a fortran program that constructs a makefile suitable to compile and link a Fortran project. The idea is that it is hard to type in the Makefile all the dependencies between modules when you have a lot of files.
> This program opens every fortran file stored in a set of folders (given by the user), searches the main program and all the dependencies to construct the Makefile.
> 
> I would like to ask you if you think whether this program can be useful for someone. If not, how do you create your Makefiles?
> 
> Best regards,
> Paco Braxe
> 
> 
> 
> 
> 
> 

That's a very good idea.

You could also use 'autoconf' although I have never
done this myself.

http://www.gnu.org/software/hello/manual/autoconf/Language-Choice.html

Peter



More information about the Fortran mailing list