On Sun, 2017-08-06 at 12:02 -0400, Stefan Monnier wrote:
> > > I need to update some files whenever a symlink changes, even if the new
> > > target of the symlink is an old file.
> > > How can I do that with GNU Make?
> > See:
> >        -L, --check-symlink-times
> >             Use the latest mtime between symlinks and target.
> Thanks.  Is there a way to do it from within the Makefile (either
> globally, or for specific targets)?

It should work to add:


into your makefile.

You can't do it just for certain targets though... well, I guess you
could replace those recipes with some kind of recursive make invocation
that added the -L option for just those targets.

Help-make mailing list

Reply via email to