摘要: 继续翻译6.3.2 Computed Variable Names-----------------------------Computed variable names are a complicated concept needed only forsophisticated makefile programming. For most purposes you need notconsider them, except to know that making a variable with a dollar signin its name might have strange resu. 阅读全文
posted @ 2012-10-03 17:31 健哥的数据花园 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 继续翻译6.3 Advanced Features for Reference to Variables================================================This section describes some advanced features you can use to referencevariables in more flexible ways.6.3.1 Substitution References-----------------------------A "substitution reference" sub 阅读全文
posted @ 2012-10-03 17:13 健哥的数据花园 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 继续翻译6.2 The Two Flavors of Variables================================There are two ways that a variable in GNU `make' can have a value; wecall them the two "flavors" of variables. The two flavors aredistinguished in how they are defined and in what they do when expanded. The first flavo 阅读全文
posted @ 2012-10-03 14:27 健哥的数据花园 阅读(360) 评论(0) 推荐(0) 编辑
摘要: 继续翻译6.1 Basics of Variable References=================================To substitute a variable's value, write a dollar sign followed by thename of the variable in parentheses or braces: either `$(foo)' or`${foo}' is a valid reference to the variable `foo'. This specialsignificance of 阅读全文
posted @ 2012-10-03 11:01 健哥的数据花园 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 继续翻译6 How to Use Variables**********************A "variable" is a name defined in a makefile to represent a string oftext, called the variable's "value". These values are substituted byexplicit request into targets, prerequisites, recipes, and other partsof the makefile. (In 阅读全文
posted @ 2012-10-03 10:19 健哥的数据花园 阅读(267) 评论(0) 推荐(0) 编辑