mirror of
https://github.com/mirror/make.git
synced 2025-03-27 12:31:23 +08:00
Formerly make.texinfo.~57~
This commit is contained in:
parent
a3254ad7b3
commit
0a7da8a929
22
make.texinfo
22
make.texinfo
@ -6,10 +6,10 @@
|
|||||||
@smallbook
|
@smallbook
|
||||||
@c %**end of header
|
@c %**end of header
|
||||||
|
|
||||||
@set EDITION 0.38
|
@set EDITION 0.38-1/2
|
||||||
@set VERSION 3.63 Beta
|
@set VERSION 3.63 Beta
|
||||||
@set UPDATED 17 November 1992
|
@set UPDATED 9 December 1992
|
||||||
@set UPDATE-MONTH November 1992
|
@set UPDATE-MONTH December 1992
|
||||||
|
|
||||||
@c finalout
|
@c finalout
|
||||||
|
|
||||||
@ -376,7 +376,7 @@ If you are familiar with other @code{make} programs, see @ref{Features,
|
|||||||
Features}, which explains the few things GNU @code{make} lacks that
|
Features}, which explains the few things GNU @code{make} lacks that
|
||||||
others have.
|
others have.
|
||||||
|
|
||||||
For a quick summary, see @ref{Options Summary}, @ref{Quick Reference},
|
To see a quick summary, see @ref{Options Summary}, @ref{Quick Reference},
|
||||||
and @ref{Special Targets}.
|
and @ref{Special Targets}.
|
||||||
|
|
||||||
@node Bugs, , Reading, Overview
|
@node Bugs, , Reading, Overview
|
||||||
@ -417,6 +417,9 @@ through the Internet or via UUCP:
|
|||||||
@noindent
|
@noindent
|
||||||
Please include the version number of @code{make} you are using. You can
|
Please include the version number of @code{make} you are using. You can
|
||||||
get this information with the command @samp{make --version -f /dev/null}.
|
get this information with the command @samp{make --version -f /dev/null}.
|
||||||
|
Be sure also to include the type of machine and operating system you are
|
||||||
|
using. If possible, include the contents of the file @file{config.h}
|
||||||
|
that is generated by the configuration process.@c !!! make this real
|
||||||
|
|
||||||
Non-bug suggestions are always welcome as well. If you have questions
|
Non-bug suggestions are always welcome as well. If you have questions
|
||||||
about things that are unclear in the documentation or are just obscure
|
about things that are unclear in the documentation or are just obscure
|
||||||
@ -424,7 +427,7 @@ features, contact Roland McGrath; he will try to help you out, although
|
|||||||
he may not have the time to fix the problem.@refill
|
he may not have the time to fix the problem.@refill
|
||||||
|
|
||||||
You can send electronic mail to Roland McGrath either through the
|
You can send electronic mail to Roland McGrath either through the
|
||||||
Internet or via UUCP:
|
@w{Internet} or via UUCP:
|
||||||
|
|
||||||
@example
|
@example
|
||||||
@group
|
@group
|
||||||
@ -587,6 +590,7 @@ make clean
|
|||||||
In the example makefile, the targets include the executable file
|
In the example makefile, the targets include the executable file
|
||||||
@samp{edit}, and the object files @samp{main.o} and @samp{kbd.o}. The
|
@samp{edit}, and the object files @samp{main.o} and @samp{kbd.o}. The
|
||||||
dependencies are files such as @samp{main.c} and @samp{defs.h}.
|
dependencies are files such as @samp{main.c} and @samp{defs.h}.
|
||||||
|
In fact, each @samp{.o} file is both a target and a dependency.
|
||||||
Commands include @w{@samp{cc -c main.c}} and @w{@samp{cc -c kbd.c}}.
|
Commands include @w{@samp{cc -c main.c}} and @w{@samp{cc -c kbd.c}}.
|
||||||
|
|
||||||
When a target is a file, it needs to be recompiled or relinked if any
|
When a target is a file, it needs to be recompiled or relinked if any
|
||||||
@ -615,7 +619,7 @@ also does not have any dependencies, so the only purpose of the rule
|
|||||||
is to run the specified commands. Targets that do not refer to files
|
is to run the specified commands. Targets that do not refer to files
|
||||||
but are just actions are called @dfn{phony targets}. @xref{Phony
|
but are just actions are called @dfn{phony targets}. @xref{Phony
|
||||||
Targets}, for information about this kind of target. @xref{Errors, ,
|
Targets}, for information about this kind of target. @xref{Errors, ,
|
||||||
Errors in Commands}, to see how to cause @code{make} ignore errors
|
Errors in Commands}, to see how to cause @code{make} to ignore errors
|
||||||
from @code{rm}.
|
from @code{rm}.
|
||||||
@cindex @code{clean} target
|
@cindex @code{clean} target
|
||||||
@pindex rm @r{(shell command)}
|
@pindex rm @r{(shell command)}
|
||||||
@ -632,6 +636,7 @@ whose target names start with @samp{.}). This is called the
|
|||||||
strives ultimately to update. @xref{Goals, , Arguments to Specify the
|
strives ultimately to update. @xref{Goals, , Arguments to Specify the
|
||||||
Goals}.)
|
Goals}.)
|
||||||
@cindex default goal
|
@cindex default goal
|
||||||
|
@cindex goal, default
|
||||||
@cindex goal
|
@cindex goal
|
||||||
|
|
||||||
In the simple example of the previous section, the default goal is to
|
In the simple example of the previous section, the default goal is to
|
||||||
@ -1006,9 +1011,10 @@ implicit rules. @xref{Implicit Rules, ,Using Implicit Rules}.
|
|||||||
|
|
||||||
@cindex @code{-f}
|
@cindex @code{-f}
|
||||||
@cindex @code{--file}
|
@cindex @code{--file}
|
||||||
|
@cindex @code{--makefile}
|
||||||
If you want to use a nonstandard name for your makefile, you can specify
|
If you want to use a nonstandard name for your makefile, you can specify
|
||||||
the makefile name with the @samp{-f} or @samp{--file} option. The
|
the makefile name with the @samp{-f} or @samp{--file} option. The
|
||||||
arguments @samp{-f @var{name}} or @samp{--file @var{name}} tell
|
arguments @w{@samp{-f @var{name}}} or @w{@samp{--file @var{name}}} tell
|
||||||
@code{make} to read the file @var{name} as the makefile. If you use
|
@code{make} to read the file @var{name} as the makefile. If you use
|
||||||
more than one @samp{-f} or @samp{--file} option, you can specify several
|
more than one @samp{-f} or @samp{--file} option, you can specify several
|
||||||
makefiles. All the makefiles are effectively concatenated in the order
|
makefiles. All the makefiles are effectively concatenated in the order
|
||||||
@ -1079,7 +1085,7 @@ source files automatically; the dependencies can be put in a file that
|
|||||||
is included by the main makefile. This practice is generally cleaner
|
is included by the main makefile. This practice is generally cleaner
|
||||||
than that of somehow appending the dependencies to the end of the main
|
than that of somehow appending the dependencies to the end of the main
|
||||||
makefile as has been traditionally done with other versions of
|
makefile as has been traditionally done with other versions of
|
||||||
@code{make}.
|
@code{make}.@c !!! xref to auto deps
|
||||||
@cindex dependencies, automatic generation
|
@cindex dependencies, automatic generation
|
||||||
|
|
||||||
@cindex @code{-I}
|
@cindex @code{-I}
|
||||||
|
Loading…
Reference in New Issue
Block a user