%% Oliver Seidel <[EMAIL PROTECTED]> writes:
os> I believe that $(@D) does not behave correctly. I had directories as
os> targets and tried to take the directory component of them and it
os> appears that it used the complete path before the last slash. This is
os> probably correct for files, but not for directories. Unless, of
os> course, it is intended, that the directory is meant, in which my
os> directory resides.
$(@D) behaves just like UNIX's dirname (essentially). It returns the
contents of $@ up to but not including the last slash. If no slash
exists, it returns ".".
If that doesn't answer your question, please supply a small sample
makefile, the results you get from running it, and what you expected.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist