摘要:
继续翻译5.3.2 Choosing the Shell------------------------The program used as the shell is taken from the variable `SHELL'. Ifthis variable is not set in your makefile, the program `/bin/sh' isused as the shell. The argument(s) passed to the shell are taken fromthe variable `.SHELLFLAGS'. The 阅读全文
摘要:
继续翻译 If `.ONESHELL' is provided, then only the first line of the recipewill be checked for the special prefix characters (`@', `-', and `+').Subsequent lines will include the special characters in the recipe linewhen the `SHELL' is invoked. If you want your recipe to start with o 阅读全文
摘要:
继续翻译5.3.1 Using One Shell---------------------Sometimes you would prefer that all the lines in the recipe be passedto a single invocation of the shell. There are generally twosituations where this is useful: first, it can improve performance inmakefiles where recipes consist of many command lines, . 阅读全文
摘要:
继续翻译5.3 Recipe Execution====================When it is time to execute recipes to update a target, they areexecuted by invoking a new subshell for each line of the recipe, unlessthe `.ONESHELL' special target is in effect (*note Using One Shell: OneShell.) (In practice, `make' may take short 阅读全文
摘要:
继续翻译5.2 Recipe Echoing==================Normally `make' prints each line of the recipe before it is executed.We call this "echoing" because it gives the appearance that you aretyping the lines yourself. When a line starts with `@', the echoing of that line is suppressed.The `@' 阅读全文