摘要:
继续翻译4.5.4 Writing Recipes with Directory Search-------------------------------------------When a prerequisite is found in another directory through directorysearch, this cannot change the recipe of the rule; they will execute aswritten. Therefore, you must write the recipe with care so that itwill . 阅读全文
摘要:
继续翻译4.5.3 How Directory Searches are Performed ------------------------------------------ When a prerequisite is found through directory search, regardless of type (general or selective), the pathname located may not be the one th... 阅读全文
摘要:
继续翻译 If several `vpath' patterns match the prerequisite file's name, then `make' processes each matching `vpath' directive one by one, searching all the directories mentioned in each directive. `make' handles multiple `vpath' directives in the order in which they appear in th 阅读全文
摘要:
继续翻译 `%' characters in a `vpath' directive's pattern can be quoted with preceding backslashes (`\'). Backslashes that would otherwise quote `%' characters can be quoted with more backslashes. Backslashes that quote `%' characters or other backslashes are removed from the patt 阅读全文
摘要:
继续翻译`vpath PATTERN' Clear out the search path associated with PATTERN. `vpath' Clear all search paths previously specified with `vpath' directives. ... 阅读全文
摘要:
继续翻译4.5.2 The `vpath' Directive --------------------------- Similar to the `VPATH' variable, but more selective, is the `vpath' directive (note lower case), which allows you to specify a search path for a particular class of file ... 阅读全文
摘要:
继续翻译4.5.1 `VPATH': Search Path for All Prerequisites ------------------------------------------------ The value of the `make' variable `VPATH' specifies a list of directories that `make' should search. Most often, the directories... 阅读全文
摘要:
继续翻译4.5 Searching Directories for Prerequisites =========================================== For large systems, it is often desirable to put sources in a separate directory from the binaries. The "directory search" features of `ma... 阅读全文
摘要:
继续翻译4.4.3 The Function `wildcard' ----------------------------- Wildcard expansion happens automatically in rules. But wildcard expansion does not normally take place when a variable is set, or inside the arguments of a function.... 阅读全文
摘要:
继续翻译4.4.2 Pitfalls of Using Wildcards --------------------------------- Now here is an example of a naive way of using wildcard expansion, thatdoes not do what you would intend. Suppose you would like to say that the executable file `foo' is made from all the object files in... 阅读全文