Parent Directory | Revision Log | Revision Graph
o added a platform-detection mechanism to guess at the optfile to use when none are specified o changed some optfile names to reflect the new platform naming convention--more work still needed in this area o added parsing of MITGCM_* environment variables
1 | edhill | 1.1 | #!/bin/bash |
2 | # | ||
3 | # $Header$ | ||
4 | # | ||
5 | |||
6 | |||
7 | FC=g77 | ||
8 | DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' | ||
9 | LN='/bin/ln -s' | ||
10 | CPP='cpp -traditional -P' | ||
11 | NOOPTFLAGS='-O0' | ||
12 | |||
13 | # For IEEE, use the "-ffloat-store" option | ||
14 | if test "x$IEEE" = x ; then | ||
15 | FFLAGS='-Wimplicit -Wunused -Wuninitialized' | ||
16 | FOPTIM='-O3 -malign-double -funroll-loops' | ||
17 | else | ||
18 | FFLAGS='-Wimplicit -Wunused -Wuninitialized -ffloat-store' | ||
19 | FOPTIM='-O0 -malign-double' | ||
20 | fi | ||
21 | |||
22 | |||
23 |
ViewVC Help | |
Powered by ViewVC 1.1.22 |