fortdepend: A Fortran Dependency Generator¶
fortdepend is a python package to automatically generate
Given a set of files,
fortdepend automatically constructs
the dependency graph for the programs and files and can write a
dependency file suitable for Makefiles.
fortdepend now uses
pcpp, a preprocessor written in Python, so it can determine which
modules will actually be used when you compile.
You can even use
fortdepend to draw the graph of the module
dependencies (requires graphviz)!
Original script by D. Dickinson
fortdependrequires Python 3.
fortdependworks by looking for matching pairs of
program <name>/end program <name>and
module <name>/end module <name>, and so will not work on Fortran 77-style files that just use
endwithout the appropriate label.