Hi,

I believe that $(@D) does not behave correctly.  I had directories as
targets and tried to take the directory component of them and it
appears that it used the complete path before the last slash.  This is
probably correct for files, but not for directories.  Unless, of
course, it is intended, that the directory is meant, in which my
directory resides.  But this wasn't clear from the manual:

---------------------------------------------------------------------------
`$(@D)'
     The directory part of the file name of the target, with the
     trailing slash removed.  If the value of `$@' is `dir/foo.o' then
     `$(@D)' is `dir'.  This value is `.' if `$@' does not contain a
     slash.
---------------------------------------------------------------------------

Thanks so much,

Oliver Seidel

Reply via email to