124 |
EOF |
EOF |
125 |
test -f Makefile && mv -f Makefile Makefile.bak |
test -f Makefile && mv -f Makefile Makefile.bak |
126 |
cat <<EOF >> Makefile |
cat <<EOF >> Makefile |
|
%.$tfs : %.F |
|
127 |
.SUFFIXES: |
.SUFFIXES: |
128 |
genmake_hello.$tfs: genmake_hello.F |
.SUFFIXES: .$tfs .F |
129 |
$LN genmake_hello.F genmake_hello.$tfs |
.F.$tfs: |
130 |
|
$LN \$< \$@ |
131 |
EOF |
EOF |
132 |
$MAKE "genmake_hello."$tfs > /dev/null 2>&1 |
$MAKE "genmake_hello."$tfs > /dev/null 2>&1 |
133 |
RETVAL=$? |
RETVAL=$? |
861 |
echo "none found" |
echo "none found" |
862 |
fi |
fi |
863 |
|
|
864 |
# echo "$0::$1:$2:$3:$4:$5:$6:$7:" |
#echo "$0::$1:$2:$3:$4:$5:$6:$7:" |
865 |
#OPTIONS= |
#OPTIONS= |
866 |
#n=0 |
#n=0 |
867 |
#for i ; do |
#for i ; do |
873 |
#done |
#done |
874 |
#parse_options |
#parse_options |
875 |
ac_prev= |
ac_prev= |
876 |
for ac_option in $@ ; do |
for ac_option in "$@" ; do |
877 |
|
|
878 |
G2ARGS="$G2ARGS \"$ac_option\"" |
G2ARGS="$G2ARGS \"$ac_option\"" |
879 |
|
|
1987 |
|
|
1988 |
# The normal chain of rules is ( .F - .$FS - .o ) |
# The normal chain of rules is ( .F - .$FS - .o ) |
1989 |
|
|
1990 |
%.o : %.F |
## This nullifies any default implicit rules concerning these two file types: |
1991 |
|
## %.o : %.F |
1992 |
|
|
1993 |
.F.$FS: |
.F.$FS: |
1994 |
\$(CPP) \$(DEFINES) \$(INCLUDES) > \$@ |
\$(CPP) \$(DEFINES) \$(INCLUDES) > \$@ |