views:

22

answers:

1

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

Is there any equivalence in GNU Make?

+1  A: 

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}.

tonio