【问题标题】:grammar about Makefile关于 Makefile 的语法
【发布时间】:2012-07-21 02:39:24
【问题描述】:
WINCONFS = WindowsDebugMinGW WindowsReleaseMinGW

$(WINCONFS) : WINTOOLS=CC=gcc.exe CCC=g++.exe CXX=g++.exe AS=as.exe CND_PLATFORM=Cygwin-Windows

WindowsDebugMinGW : BUILDCONF=WindowsDebugMinGW
WindowsReleaseMinGW : BUILDCONF=WindowsReleaseMinGW

谁知道'a : b=c=d e=f g=h'

【问题讨论】:

  • Make 的哪个版本? (如果不确定,请尝试make -v。)

标签: macros makefile grammar target prerequisites


【解决方案1】:

它设置的$(WINTOOLS) 的值仅适用于那些特定目标。

请参阅有关 Target-specific variable values 的文档。

【讨论】:

    猜你喜欢
    • 2016-03-14
    • 2011-11-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多