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=$? |
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) > \$@ |