Chapter 9: How to Run make 105
are being compared and with what results, which files actually need to be
remade, which implicit rules are considered and which are applied—everything
interesting about how make decides what to do. The -d option is equivalent to
‘--debug=a’ (see below).
‘--debug[=options]’
Print debugging information in addition to normal processing. Various levels
and types of output can be chosen. With no arguments, print the “basic”
level of debugging. Possible arguments are below; only the first character is
considered, and values must be comma- or space-separated.
a (all) All types of debugging output are enabled. This is equivalent to
using ‘-d’.
b (basic) Basic debugging prints each target that was found to be out-of-date,
and whether the build was successful or not.
v (verbose)
A level above ‘basic’; includes messages about which makefiles
were parsed, prerequisites that did not need to be rebuilt, etc. This
option also enables ‘basic’ messages.
i (implicit)
Prints messages describing the implicit rule searches for each target.
This option also enables ‘basic’ messages.
j (jobs) Prints messages giving details on the invocation of specific sub-
commands.
m (makefile)
By default, the above messages are not enabled while trying to re-
make the makefiles. This option enables messages while rebuilding
makefiles, too. Note that the ‘all’ option does enable this option.
This option also enables ‘basic’ messages.
n (none) Disable all debugging currently enabled. If additional debugging
flags are encountered after this they will still take effect.
‘-e’
‘--environment-overrides’
Give variables taken from the environment precedence over variables from make-
files. See Section 6.10 [Variables from the Environment], page 70.
‘--eval=string’
Evaluate string as makefile syntax. This is a command-line version of the eval
function (see Section 8.9 [Eval Function], page 93). The evaluation is performed
after the default rules and variables have been defined, but before any makefiles
are read.
‘-f file’
‘--file=file’
‘--makefile=file’
Read the file named file as a makefile. See Chapter 3 [Writing Makefiles],
page 11.
Comentários a estes Manuais