746 |
*curtim = *curtim/1.E6; |
*curtim = *curtim/1.E6; |
747 |
} |
} |
748 |
EOF |
EOF |
749 |
make genmake_tc_1.o >> genmake_warnings 2>&1 |
COMM="$CC $CFLAGS -c genmake_tc_1.c" |
750 |
|
echo $COMM >> genmake_warnings |
751 |
|
$COMM >> genmake_warnings 2>&1 |
752 |
RET_C=$? |
RET_C=$? |
753 |
cat <<EOF > genmake_tc_2.$FS |
cat <<EOF > genmake_tc_2.$FS |
754 |
program hello |
program hello |
807 |
return; |
return; |
808 |
} |
} |
809 |
EOF |
EOF |
810 |
make genmake_tc_1.o >> genmake_warnings 2>&1 |
COMM="$CC $CFLAGS -c genmake_tc_1.c" |
811 |
|
echo $COMM >> genmake_warnings |
812 |
|
$COMM >> genmake_warnings 2>&1 |
813 |
RET_C=$? |
RET_C=$? |
814 |
cat <<EOF > genmake_tc_2.$FS |
cat <<EOF > genmake_tc_2.$FS |
815 |
program hello |
program hello |
857 |
return; |
return; |
858 |
} |
} |
859 |
EOF |
EOF |
860 |
make genmake_tc_1.o >> genmake_warnings 2>&1 |
COMM="$CC $CFLAGS -c genmake_tc_1.c" |
861 |
|
echo $COMM >> genmake_warnings |
862 |
|
$COMM >> genmake_warnings 2>&1 |
863 |
RET_C=$? |
RET_C=$? |
864 |
cat <<EOF > genmake_tc_2.$FS |
cat <<EOF > genmake_tc_2.$FS |
865 |
program hello |
program hello |
903 |
*nbyte = -1; |
*nbyte = -1; |
904 |
} |
} |
905 |
EOF |
EOF |
906 |
make genmake_tc_1.o >> genmake_tc.log 2>&1 |
COMM="$CC $CFLAGS -c genmake_tc_1.c" |
907 |
|
echo $COMM >> genmake_warnings |
908 |
|
$COMM >> genmake_tc.log 2>&1 |
909 |
RET_C=$? |
RET_C=$? |
910 |
cat <<EOF > genmake_tc_2.$FS |
cat <<EOF > genmake_tc_2.$FS |
911 |
program hello |
program hello |
1153 |
|
|
1154 |
echo "=== Processing options files and arguments ===" |
echo "=== Processing options files and arguments ===" |
1155 |
gm_local="genmake_local" |
gm_local="genmake_local" |
|
for i in . $MODS ; do |
|
|
if test -r $i/$gm_local ; then |
|
|
. $i/$gm_local |
|
|
break |
|
|
fi |
|
|
done |
|
1156 |
printf " getting local config information: " |
printf " getting local config information: " |
1157 |
if test -f $gm_local ; then |
if test -f $gm_local ; then |
1158 |
echo "using $gm_local" |
echo "using $gm_local" |
2361 |
echo "" >> srclinks.tmp |
echo "" >> srclinks.tmp |
2362 |
echo "# These files are linked from $d" >> srclinks.tmp |
echo "# These files are linked from $d" >> srclinks.tmp |
2363 |
echo "$deplist :" >> srclinks.tmp |
echo "$deplist :" >> srclinks.tmp |
2364 |
printf "\t\$(LN) %s/\$@ \$@\n" $d >> srclinks.tmp |
# We need to make sure that the link isn't already there. |
2365 |
|
# This may happen when make thinks that a header file has to be "remade" |
2366 |
|
# because a module it depends on has changed. In this case we do nothing. |
2367 |
|
printf "\tif [ ! -L \$@ ]; then \$(LN) %s/\$@ \$@; fi\n" $d >> srclinks.tmp |
2368 |
fi |
fi |
2369 |
done |
done |
2370 |
rm -rf .links.tmp |
rm -rf .links.tmp |
2600 |
\$(CPP) \$(DEFINES) \$(INCLUDES) > \$@ |
\$(CPP) \$(DEFINES) \$(INCLUDES) > \$@ |
2601 |
.$FS.o: |
.$FS.o: |
2602 |
\$(FC) \$(FFLAGS) \$(FOPTIM) -c \$< |
\$(FC) \$(FFLAGS) \$(FOPTIM) -c \$< |
2603 |
|
.F.o: |
2604 |
|
\$(FC) \$(FFLAGS) \$(FOPTIM) -c \$< |
2605 |
.F90.o: |
.F90.o: |
2606 |
\$(F90C) \$(F90FLAGS) \$(F90OPTIM) -c \$< |
\$(F90C) \$(F90FLAGS) \$(F90OPTIM) -c \$< |
2607 |
.c.o: |
.c.o: |