On Sat, Aug 31, 2019 at 3:29 PM Bram Moolenaar <b...@moolenaar.net> wrote:
>
>
> Tony Wrote:
>
> > I'm attaching a proposed patch. I wrote the recipe as "@test -e ./$@
> > || ln -sv ../$@" rather than just the ln command to make 100% sure it
> > doesn't try to recreate an existing link. AFAICT it works for me. I
> > don't know why it rebuilds auto/pathdef.c, objects/pathdef.o and
> > objects/version.o even though they aren't supposed to have changed.
>
> As I mentioned before: wildcards in the target won't work with all make
> programs.  And also they usually only expand to existing files, not
> missing files.  BSD make mentions this explicitly:
>
>      Targets and sources may contain the shell wildcard values `?', `*', `[]',
>      and `{}'.  The values `?', `*', and `[]' may only be used as part of the
>      final component of the target or source, and must be used to describe ex-
>      isting files.
>
Ah, I didn't notice that.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXs1r59vCP3YTSSF4nWZ-eDOu4O3kvCtKQ9A90WE3Ze5-g%40mail.gmail.com.

Raspunde prin e-mail lui