-MM replacement

Steve Kargl sgk@troutmask.apl.washington.edu
Thu Aug 5 20:08:00 GMT 2010


On Thu, Aug 05, 2010 at 11:59:02AM -0700, Mathew Yeates wrote:
> Hi
> I have a Makefile with the line
> gfortran -x f77-cpp-input -MM foo.f
> 
> that no longer works after upgrading gfortran.
> 
> What do I do instead to get the same behavior as gcc -MM?
> 

What version of gfortran?  

Define "no longer works".  My crystal ball is 
having troubles seeing your computer terminal.

troutmask:sgk[216] cat a.f
       program test
#include "foo"
       end program test
troutmask:sgk[217] cat foo
       print *, 'Hello'
troutmask:sgk[218] gfc4x -x f77-cpp-input -MM a.f
a.o: a.f foo

-- 
Steve



More information about the Fortran mailing list