gpt4 book ai didi

gnu-make - gnumake.RECIPEPREFIX问题

转载 作者:行者123 更新时间:2023-12-04 17:27:50 25 4
gpt4 key购买 nike

我正在尝试使用特殊变量.RECIPEPREFIX来避免难以看到的选项卡,但它似乎不起作用。我的简单测试文件是:

.RECIPEPREFIX = +

全部:
+ @回声确定

但我得到消息:

xxx:4:***缺少分隔符。停止。

最佳答案

您正在使用哪个版本的gnu make? 3.81?

从3.82开始仅支持.RECIPEPREFIX。我已经在3.82上测试了您的样本,它可以正常工作。

http://cvs.savannah.gnu.org/viewvc/make/NEWS?revision=2.109&root=make&view=markup

  • New special variable: .RECIPEPREFIX allows you to reset the recipe introduction character from the default (TAB) to something else. The first character of this variable value is the new recipe introduction character. If the variable is set to the empty string, TAB is used again. It can be set and reset at will; recipes will use the value active when they were first parsed. To detect this feature check the value of $(.RECIPEPREFIX).

关于gnu-make - gnumake.RECIPEPREFIX问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5232617/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com