|
Lines 81-88
Link Here
|
| 81 |
# -U def passed to C compiler (for .c files) |
81 |
# -U def passed to C compiler (for .c files) |
| 82 |
# or to cpp (for .F files) to remove def |
82 |
# or to cpp (for .F files) to remove def |
| 83 |
|
83 |
|
| 84 |
s=/tmp/stderr_$$ |
84 |
s=`tempfile --prefix=stderr` || { echo "$0: Cannot create temporary file" ; exit 1; } |
| 85 |
t=/tmp/f77_$$.o |
85 |
t=`tempfile --suffix=.o --prefix=f77` || { echo "$0: Cannot create temporary file"; exit 1; } |
|
|
86 |
trap "rm -f $s $t; exit \$rc" 0 |
| 86 |
### On some systems (e.g., IRIX), -common prevents complaints |
87 |
### On some systems (e.g., IRIX), -common prevents complaints |
| 87 |
### about multiple definitions of COMMON blocks. |
88 |
### about multiple definitions of COMMON blocks. |
| 88 |
#CC=${CC_f2c:-'cc -common'} |
89 |
#CC=${CC_f2c:-'cc -common'} |
|
Lines 95-101
Link Here
|
| 95 |
F2CFLAGS=${F2CFLAGS:='-ARw8 -Nn802 -Nq300 -Nx400'} |
96 |
F2CFLAGS=${F2CFLAGS:='-ARw8 -Nn802 -Nq300 -Nx400'} |
| 96 |
CPP=${CPP:-/lib/cpp} |
97 |
CPP=${CPP:-/lib/cpp} |
| 97 |
rc=0 |
98 |
rc=0 |
| 98 |
trap "rm -f $s $t; exit \$rc" 0 |
|
|
| 99 |
OUTF=a.out |
99 |
OUTF=a.out |
| 100 |
OUTO= |
100 |
OUTO= |
| 101 |
cOPT=1 |
101 |
cOPT=1 |