gcc -MM x.cpp can create header file dependent for CPP so I try gfortran -MM x.for ,but I got nothing even when I use gfortran -M x.for ,I got Segmentation fault Is there any other method create a dependent file for fortran file?