GNU make manual 翻译( 一百二十七)

继续翻译

5 Writing Recipes in Rules

**************************



The recipe of a rule consists of one or more shell command lines to be

executed, one at a time, in the order they appear.  Typically, the

result of executing these commands is that the target of the rule is

brought up to date.



   Users use many different shell programs, but recipes in makefiles are

always interpreted by `/bin/sh' unless the makefile specifies

otherwise.  *Note Recipe Execution: Execution.

5 在规则里写片段
**************************

一个规则的片段有一行或多行地shell 命令组成。按照它们的顺序一次执行移行。典型地,执行这些命令的结果是,此规则的目的被更新为最新的状态。

 

 用户可以使用不同的shell  程序,但是在makefile的片段里,却总是被认为是 /bin/sh, 除非makefile特别指定了其它的。*Note Recipe Execution: Execution

后文待续

你可能感兴趣的:(Make)