文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Makefile中的 Automatic Variables 含义

Makefile中的 Automatic Variables 含义

时间:2010-09-20  来源:胡是

$@    The filename representing the target.

$%    The filename element of an archive member specification.

$<    The filename of the first prerequisite.

$?    The names of all prerequisites that are newer than the target, separated by spaces.

$^    The filenames of all the prerequisites, separated by spaces. This list has duplicate filenames removed since for most uses, such as compiling, copying, etc., duplicates are not wanted.

$+    Similar to $^, this is the names of all the prerequisites separated by spaces, except that $+ includes duplicates. This variable was created for specific situations such as arguments to linkers where duplicate values have meaning.

$*    The stem of the target filename. A stem is typically a filename without its suffix. (We’ll discuss how stems are computed later in the section “Pattern Rules.”) Its use outside of pattern rules is discouraged.

相关阅读 更多 +
排行榜 更多 +
木棍人追赶去广告版下载

木棍人追赶去广告版下载

冒险解谜 下载
木棍人追赶去广告版下载

木棍人追赶去广告版下载

冒险解谜 下载
喜羊羊与灰太狼奇幻之旅官方正版下载

喜羊羊与灰太狼奇幻之旅官方正版下载

飞行射击 下载