6 |
|
|
7 |
|
|
8 |
FC=g77 |
FC=g77 |
9 |
|
CC=gcc |
10 |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
DEFINES='-D_BYTESWAPIO -DWORDLENGTH=4' |
|
LN='/bin/ln -s' |
|
11 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
12 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
13 |
|
|
|
# For IEEE, use the "-ffloat-store" option |
|
14 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
15 |
|
# No need for IEEE-754 |
16 |
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
FFLAGS='-Wimplicit -Wunused -Wuninitialized' |
17 |
FOPTIM='-O3 -malign-double -funroll-loops' |
FOPTIM='-O3 -malign-double -funroll-loops' |
18 |
else |
else |
19 |
|
# Try to follow IEEE-754 |
20 |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
FFLAGS='-Wimplicit -Wunused -ffloat-store' |
21 |
FOPTIM='-O0 -malign-double' |
FOPTIM='-O0 -malign-double' |
22 |
fi |
fi |
23 |
|
|
24 |
|
INCLUDES='-I/usr/include/netcdf' |
25 |
|
|