# HG changeset patch # User jwe # Date 787541067 0 # Node ID 6ada1ed8eba6c4c31eb332f2b6f1611427eee329 # Parent 34c1b152d6a324d32fd4fc54b98937cfbfeed263 [project @ 1994-12-16 01:24:27 by jwe] diff -r 34c1b152d6a3 -r 6ada1ed8eba6 Makeconf.in --- a/Makeconf.in Thu Dec 15 16:46:46 1994 +0000 +++ b/Makeconf.in Fri Dec 16 01:24:27 1994 +0000 @@ -190,9 +190,21 @@ # The following pattern rules and the substitution functions require # GNU make. If you don't have it, get it! -@DEFAULT_DOT_C_FROM_DOT_F@ +# Rules for making C source from Fortran source (if necessary). +# +# If we are using f2c there will be a command for the `%.c : %.f' +# pattern and no command for the `%.o : %.f' pattern, so that make +# will not invoke the fortran compiler by mistake. +# +# If we are not using f2c, it should be ok to have an empty rule for +# the pattern `%.c : %.f', but we don't want to replace make's default +# rule for making object from Fortran source files, so there should be +# no pattern or command for that. -@DEFAULT_DOT_O_FROM_DOT_F@ +%.c : %.f +@DEFAULT_DOT_C_FROM_DOT_F_CMD@ + +@DEFAULT_DOT_O_FROM_DOT_F_PAT@ # How to make .o files from .c files: