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}.
精彩评论