Re: automake for fortran with modules

2015-01-29 Thread Alberto Luaces
Rudra Banerjee writes: > I am looking for something more automatic, like if I directly create a > makefile, I will probably do something like: > %.o: %.f90 > $(F90) $(COMPFLAGS) $*.f90 > > Is this possible to do something like this for automake as well? At least not out of the box: curren

automake for fortran with modules

2015-01-27 Thread Rudra Banerjee
Hi, I am trying to write a automake file for fortran. The project contains module. So, a output of makedepf90 (http://personal.inet.fi/private/erikedelmann/makedepf90/) gives: $ makedepf90 *.f90 constants.o : constants.f90 init.o : init.f90 util.o constants.o mainmodule.o main.o : main.f90 consta