diff options
Diffstat (limited to 'make.texinfo')
-rw-r--r-- | make.texinfo | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/make.texinfo b/make.texinfo index 7fe5917..1e61183 100644 --- a/make.texinfo +++ b/make.texinfo @@ -6668,7 +6668,17 @@ Rules}). But you can still define your own suffixes with a rule for @code{.SUFFIXES}, and then define your own suffix rules. Note that only @emph{rules} are affected by the @code{-r} option; default variables remain in effect (@pxref{Implicit Variables, ,Variables Used by Implicit -Rules}). +Rules}); see the @samp{-R} option below. + +@item -R +@cindex @code{-R} +@itemx --no-builtin-variables +@cindex @code{--no-builtin-variables} +Eliminate use of the built-in rule-specific variables (@pxref{Implicit +Variables, ,Variables Used by Implicit Rules}). You can still define +your own, of course. The @samp{-R} option also automatically enables +the @samp{-r} option (see above), since it doesn't make sense to have +implicit rules without any definitions for the variables that they use. @item -s @cindex @code{-s} @@ -7201,7 +7211,9 @@ the value @w{@samp{; mv $*.o $@@}}. The commands in built-in implicit rules make liberal use of certain predefined variables. You can alter these variables in the makefile, with arguments to @code{make}, or in the environment to alter how the -implicit rules work without redefining the rules themselves. +implicit rules work without redefining the rules themselves. You can +cancel all variables used by implicit rules with the @samp{-R} or +@samp{--no-builtin-variables} option. For example, the command used to compile a C source file actually says @samp{$(CC) -c $(CFLAGS) $(CPPFLAGS)}. The default values of the variables |