summaryrefslogtreecommitdiff
path: root/doc/make.texi
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2007-05-11 20:57:21 +0000
committerPaul Smith <psmith@gnu.org>2007-05-11 20:57:21 +0000
commiteda0e24ccdae279a2c12059242ef89a22c274047 (patch)
treec5c6f8db878558a3982a117c3c331642334794c2 /doc/make.texi
parent52ebc531ce68b369594267a716e93f53720c8f1b (diff)
downloadgunmake-eda0e24ccdae279a2c12059242ef89a22c274047.tar.gz
Fix some documentation gitches.
Fix an uninitialized variable. Add builtin rules for Objective C. Add a new debug line that shows where the commands that are about to be run were defined.
Diffstat (limited to 'doc/make.texi')
-rw-r--r--doc/make.texi62
1 files changed, 27 insertions, 35 deletions
diff --git a/doc/make.texi b/doc/make.texi
index 4680dec..baf92af 100644
--- a/doc/make.texi
+++ b/doc/make.texi
@@ -2940,10 +2940,6 @@ makefile, then all prerequisite lists defined @emph{after} it appears
will be expanded a second time after all makefiles have been read in.
@xref{Secondary Expansion, ,Secondary Expansion}.
-The prerequisites of the special target @code{.SUFFIXES} are the list
-of suffixes to be used in checking for suffix rules.
-@xref{Suffix Rules, , Old-Fashioned Suffix Rules}.
-
@findex .DELETE_ON_ERROR
@item .DELETE_ON_ERROR
@cindex removing targets on failure
@@ -8390,17 +8386,18 @@ implemented in @code{make} as suffix rules, so which ones will be
defined depends on the @dfn{suffix list} (the list of prerequisites of
the special target @code{.SUFFIXES}). The default suffix list is:
@code{.out}, @code{.a}, @code{.ln}, @code{.o}, @code{.c}, @code{.cc},
-@code{.C}, @code{.cpp}, @code{.p}, @code{.f}, @code{.F}, @code{.r}, @code{.y},
-@code{.l}, @code{.s}, @code{.S}, @code{.mod}, @code{.sym}, @code{.def},
-@code{.h}, @code{.info}, @code{.dvi}, @code{.tex}, @code{.texinfo},
-@code{.texi}, @code{.txinfo}, @code{.w}, @code{.ch} @code{.web},
-@code{.sh}, @code{.elc}, @code{.el}. All of the implicit rules
-described below whose prerequisites have one of these suffixes are
-actually suffix rules. If you modify the suffix list, the only
-predefined suffix rules in effect will be those named by one or two of
-the suffixes that are on the list you specify; rules whose suffixes fail
-to be on the list are disabled. @xref{Suffix Rules, ,Old-Fashioned
-Suffix Rules}, for full details on suffix rules.
+@code{.C}, @code{.cpp}, @code{.p}, @code{.f}, @code{.F}, @code{.m},
+@code{.r}, @code{.y}, @code{.l}, @code{.ym}, @code{.lm}, @code{.s},
+@code{.S}, @code{.mod}, @code{.sym}, @code{.def}, @code{.h},
+@code{.info}, @code{.dvi}, @code{.tex}, @code{.texinfo}, @code{.texi},
+@code{.txinfo}, @code{.w}, @code{.ch} @code{.web}, @code{.sh},
+@code{.elc}, @code{.el}. All of the implicit rules described below
+whose prerequisites have one of these suffixes are actually suffix
+rules. If you modify the suffix list, the only predefined suffix
+rules in effect will be those named by one or two of the suffixes that
+are on the list you specify; rules whose suffixes fail to be on the
+list are disabled. @xref{Suffix Rules, ,Old-Fashioned Suffix Rules},
+for full details on suffix rules.
@table @asis
@item Compiling C programs
@@ -8731,21 +8728,11 @@ Program for compiling assembly files; default @samp{as}.
Program for compiling C programs; default @samp{cc}.
@pindex cc
-@item CO
-@vindex CO
-Program for checking out files from RCS; default @samp{co}.
-@pindex cc
-
@item CXX
@vindex CXX
Program for compiling C++ programs; default @samp{g++}.
@pindex g++
-@item CO
-@vindex CO
-Program for extracting a file from RCS; default @samp{co}.
-@pindex co
-
@item CPP
@vindex CPP
Program for running the C preprocessor, with results to standard output;
@@ -8757,6 +8744,21 @@ Program for compiling or preprocessing Fortran and Ratfor programs;
default @samp{f77}.
@pindex f77
+@item M2C
+@vindex M2C
+Program to use to compile Modula-2 source code; default @samp{m2c}.
+@pindex m2c
+
+@item PC
+@vindex PC
+Program for compiling Pascal programs; default @samp{pc}.
+@pindex pc
+
+@item CO
+@vindex CO
+Program for extracting a file from RCS; default @samp{co}.
+@pindex co
+
@item GET
@vindex GET
Program for extracting a file from SCCS; default @samp{get}.
@@ -8777,16 +8779,6 @@ Program to use to turn Yacc grammars into source code; default @samp{yacc}.
Program to use to run lint on source code; default @samp{lint}.
@pindex lint
-@item M2C
-@vindex M2C
-Program to use to compile Modula-2 source code; default @samp{m2c}.
-@pindex m2c
-
-@item PC
-@vindex PC
-Program for compiling Pascal programs; default @samp{pc}.
-@pindex pc
-
@item MAKEINFO
@vindex MAKEINFO
Program to convert a Texinfo source file into an Info file; default