diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-08 06:49:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-08 06:49:52 +0000 |
commit | e1d72ad3f1f9fd9dc72b43b7c618230e0c7d190f (patch) | |
tree | 9deed22ea903857c11aac5375cc115f8e073a2b9 /make.texinfo | |
parent | 012254e81e045cc7af01f3ef0d7b63d9d9b9a0d5 (diff) | |
download | gunmake-e1d72ad3f1f9fd9dc72b43b7c618230e0c7d190f.tar.gz |
* Added -R / --no-builtin-variables flag.
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 |