mkSrcfiles
mkSrcfiles is a script in CIMEROOT/CIME/Tools.
$ ./mkSrcfiles --help
SYNOPSIS
mkSrcfiles
DESCRIPTION
The mkSrcfiles utility assumes the existence of an input file
./Filepath, and writes an output file ./Srcfiles that contains
the names of all the files that match the patterns *.F90, *.F,
and *.c in all the directories from ./Filepath plus ./. The
files are listed one per line.