开发者

Is there any equivalence of __DIR__ in Makefile?

In many script files, __DIR__ means the directory where the script file itself is located.

Is there 开发者_如何转开发any equivalence in GNU Make?


There is the CURDIR variable. See here. CURDIR contains the current working, and was introduced in GNU make 3.77. With older versions of gnu make, you may need to use ${PWD}.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜