diff options
author | Steven Knight <knight@baldmt.com> | 2002-06-12 21:16:35 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-06-12 21:16:35 (GMT) |
commit | 8facc7d3e757ab88aacd8d430fd7319d13d8a558 (patch) | |
tree | 9036a7ce043bb3d4508ab9dab00f214c0c6376e6 /doc/man/scons.1 | |
parent | d1b81f58263a824ca39ecc179f61ad541c5a0f7a (diff) | |
download | SCons-8facc7d3e757ab88aacd8d430fd7319d13d8a558.zip SCons-8facc7d3e757ab88aacd8d430fd7319d13d8a558.tar.gz SCons-8facc7d3e757ab88aacd8d430fd7319d13d8a558.tar.bz2 |
Add a native Fortran include scanner.
Diffstat (limited to 'doc/man/scons.1')
-rw-r--r-- | doc/man/scons.1 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/man/scons.1 b/doc/man/scons.1 index 5570ec1..6252267 100644 --- a/doc/man/scons.1 +++ b/doc/man/scons.1 @@ -1278,6 +1278,31 @@ The command line used to compile a Fortran source file to an object file. .IP F77FLAGS General options that are passed to the Fortran compiler. +.IP F77PATH +The list of directories that the Fortran compiler will search for include +directories. The Fortran implicit dependency scanner will search these +directories for include files. Don't explicitly put include directory +arguments in F77FLAGS because the result will be non-portable +and the directories will not be searched by the dependency scanner. Note: +directory names in F77PATH will be looked-up relative to the SConscript +directory when they are used in a command. To force +.B scons +to look-up a directory relative to the root of the source tree use #: + +.ES +env = Environment(F77PATH='#/include') +.EE + +.IP +The directory look-up can also be forced using the +.BR Dir () +function: + +.ES +include = Dir('include') +env = Environment(F77PATH=include) +.EE + .IP F77PPCOM The command line used to compile a Fortran source file to an object file after first running the file through the C preprocessor. |