摘要: 继续翻译5.1.2 Using Variables in Recipes--------------------------------The other way in which `make' processes recipes is by expanding anyvariable references in them (*note Basics of Variable References:Reference.). This occurs after make has finished reading all themakefiles and the target is dete 阅读全文
posted @ 2012-09-27 17:29 健哥的数据花园 阅读(259) 评论(0) 推荐(0) 编辑
摘要: 继续翻译 Sometimes you want to split a long line inside of single quotes, butyou don't want the backslash-newline to appear in the quoted content.This is often the case when passing scripts to languages such as Perl,where extraneous backslashes inside the script can change its meaningor even be a sy 阅读全文
posted @ 2012-09-27 14:49 健哥的数据花园 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 继续翻译5.1.1 Splitting Recipe Lines----------------------------One of the few ways in which `make' does interpret recipes is checkingfor a backslash just before the newline. As in normal makefile syntax,a single logical recipe line can be split into multiple physical linesin the makefile by placing 阅读全文
posted @ 2012-09-27 14:04 健哥的数据花园 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 继续翻译5.1 Recipe Syntax=================Makefiles have the unusual property that there are really two distinctsyntaxes in one file. Most of the makefile uses `make' syntax (*noteWriting Makefiles: Makefiles.). However, recipes are meant to beinterpreted by the shell and so they are written using s 阅读全文
posted @ 2012-09-27 12:35 健哥的数据花园 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 继续翻译5 Writing Recipes in Rules**************************The recipe of a rule consists of one or more shell command lines to beexecuted, one at a time, in the order they appear. Typically, theresult of executing these commands is that the target of the rule isbrought up to date. Users use many dif... 阅读全文
posted @ 2012-09-27 10:58 健哥的数据花园 阅读(151) 评论(0) 推荐(0) 编辑