摘要:
继续翻译5.9 Using Empty Recipes=======================It is sometimes useful to define recipes which do nothing. This is donesimply by giving a recipe that consists of nothing but whitespace. Forexample: target: ;defines an empty recipe for `target'. You could also use a linebeginning with a reci... 阅读全文
摘要:
继续翻译 To use the canned sequence, substitute the variable into the recipeof a rule. You can substitute it like any other variable (*note Basicsof Variable References: Reference.). Because variables defined by`define' are recursively expanded variables, all the variablereferences you wrote inside 阅读全文
摘要:
继续翻译5.8 Defining Canned Recipes===========================When the same sequence of commands is useful in making various targets,you can define it as a canned sequence with the `define' directive, andrefer to the canned sequence from the recipes for those targets. Thecanned sequence is actually 阅读全文
摘要:
继续翻译5.7.4 The `--print-directory' Option------------------------------------If you use several levels of recursive `make' invocations, the `-w' or`--print-directory' option can make the output a lot easier tounderstand by showing each directory as `make' starts processing it anda 阅读全文
摘要:
继续翻译 A similar variable `MFLAGS' exists also, for historicalcompatibility. It has the same value as `MAKEFLAGS' except that itdoes not contain the command line variable definitions, and it alwaysbegins with a hyphen unless it is empty (`MAKEFLAGS' begins with ahyphen only when it begins 阅读全文
摘要:
继续翻译 If you do not want to pass the other flags down, you must change thevalue of `MAKEFLAGS', like this: subsystem: cd subdir && $(MAKE) MAKEFLAGS= The command line variable definitions really appear in the variable`MAKEOVERRIDES', and `MAKEFLAGS' contains a reference to this va 阅读全文
摘要:
继续翻译5.7.3 Communicating Options to a Sub-`make'-------------------------------------------Flags such as `-s' and `-k' are passed automatically to the sub-`make'through the variable `MAKEFLAGS'. This variable is set upautomatically by `make' to contain the flag letters that `m 阅读全文