【问题标题】:What do these variables with 'at symbols' in Makefiles mean?Makefile 中带有“at 符号”的这些变量是什么意思?
【发布时间】:2010-04-27 01:30:46
【问题描述】:

我找不到任何关于此的文档。在 Makefile 中找到这些带有“at”符号的变量到底是什么?示例:

temp = @temp@
srcdir = @srcdir@

【问题讨论】:

    标签: makefile autoconf


    【解决方案1】:

    它们是放置在 autoconf 或相关工具的 makefile 中的占位符。配置阶段的后处理将它们替换为在配置过程中确定的值。

    通常,您会在 Makefile.in 或类似名称中看到它们;这些值不应出现在最终生成的 makefile 中。这表明配置过程没有正确完成。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-25
      • 1970-01-01
      • 1970-01-01
      • 2012-07-20
      • 2016-10-13
      • 1970-01-01
      相关资源
      最近更新 更多