diff options
Diffstat (limited to 'make.texinfo')
-rw-r--r-- | make.texinfo | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/make.texinfo b/make.texinfo index 7d243228..61df0726 100644 --- a/make.texinfo +++ b/make.texinfo @@ -8,8 +8,8 @@ @set EDITION 0.41 @set VERSION 3.64 Beta -@set UPDATED 8 March 1993 -@set UPDATE-MONTH March 1993 +@set UPDATED 11 April 1993 +@set UPDATE-MONTH April 1993 @c finalout @@ -3057,6 +3057,23 @@ so the sub-@code{make} gets them too. Thus, if you do @samp{make CFLAGS=-O}, so that all C compilations will be optimized, the sub-@code{make} is run with @samp{cd subdir; /bin/make CFLAGS=-O}.@refill +@vindex MAKE_COMMAND +@vindex MAKEOVERRIDES +The @code{MAKE} variable actually just refers to two other variables +which contain these special values. In fact, @code{MAKE} is always +defined as @samp{$(MAKE_COMMAND) $(MAKEOVERRIDES)}. The variable +@code{MAKE_COMMAND} is the file name with which @code{make} was invoked +(such as @file{/bin/make}, above). The variable @code{MAKEOVERRIDES} +contains definitions for the variables defined on the command line; in +the above example, its value is @samp{CFLAGS=-O}. If you @emph{do not} +want these variable definitions done in all recursive @code{make} +invocations, you can redefine the @code{MAKEOVERRIDES} variable to +remove them. You do this in any of the normal ways for defining +variables: in a makefile (@pxref{Setting Variables}); on the command +line with an argument like @samp{MAKEOVERRIDES=} +(@pxref{Overriding Variables}); or with an environment variable +(@pxref{Environment, ,Variables from the Environment}). + As a special feature, using the variable @code{MAKE} in the commands of a rule alters the effects of the @samp{-t} (@samp{--touch}), @samp{-n} (@samp{--just-print}), or @samp{-q} (@w{@samp{--question}}) option. |