摘要:
继续翻译7 Conditional Parts of Makefiles********************************A "conditional" directive causes part of a makefile to be obeyed orignored depending on the values of variables. Conditionals can comparethe value of one variable to another, or the value of a variable to aconstant string. 阅读全文
摘要:
继续翻译`.FEATURES' Expands to a list of special features supported by this version of `make'. Possible values include: `archives' Supports `ar' (archive) files using special filename syntax. *Note Using `make' to Update Archive Files: Archives. `check-symlink' ... 阅读全文
摘要:
继续翻译`MAKE_RESTARTS' This variable is set only if this instance of `make' has restarted (*note How Makefiles Are Remade: Remaking Makefiles.): it will contain the number of times this instance has restarted. Note this is not the same as recursion (counted by the `MAKELEVEL' varia... 阅读全文
摘要:
继续翻译`.DEFAULT_GOAL' Sets the default goal to be used if no targets were specified on the command line (*note Arguments to Specify the Goals: Goals.). The `.DEFAULT_GOAL' variable allows you to discover the current default goal, restart the default goal selection algorithm by clea... 阅读全文
摘要:
继续翻译6.14 Other Special Variables============================GNU `make' supports some variables that have special properties.`MAKEFILE_LIST' Contains the name of each makefile that is parsed by `make', in the order in which it was parsed. The name is appended just before `make' begins 阅读全文
摘要:
继续翻译6.13 Suppressing Inheritance============================As described in previous sections, `make' variables are inherited byprerequisites. This capability allows you to modify the behavior of aprerequisite based on which targets caused it to be rebuilt. Forexample, you might set a target-spe 阅读全文
摘要:
继续翻译6.12 Pattern-specific Variable Values=====================================In addition to target-specific variable values (*note Target-specificVariable Values: Target-specific.), GNU `make' supportspattern-specific variable values. In this form, the variable isdefined for any target that mat 阅读全文
摘要:
继续翻译 Target-specific variables have the same priority as any othermakefile variable. Variables provided on the command line (and in theenvironment if the `-e' option is in force) will take precedence.Specifying the `override' directive will allow the target-specificvariable value to be prefe 阅读全文
摘要:
继续翻译6.11 Target-specific Variable Values====================================Variable values in `make' are usually global; that is, they are thesame regardless of where they are evaluated (unless they're reset, ofcourse). One exception to that is automatic variables (*note AutomaticVariables: 阅读全文
摘要:
继续翻译6.10 Variables from the Environment===================================Variables in `make' can come from the environment in which `make' isrun. Every environment variable that `make' sees when it starts up istransformed into a `make' variable with the same name and value.However, 阅读全文