Fortran User's Guide

-Mdir

Add dir to directories searched for Fortran 90 modules.

    SPARC:90

Add dir to the list of directories to be searched for module files. No space appears between the -M and dir.

The directories listed with -M are searched after the current directory. Compiling a source file containing a module generates a .mod module file for each MODULE encountered. See Appendix C, "Module Files" for more information about modules in Fortran 90.