Aha! see-no-evil... :)
No, I am a completely anti- see-no-evil type person. I'd rather see it. The problem is of course, as you might have guessed it, is that I have a gazillion of links, not one, and in some situations the makefiles have -L flag enabled. So you see where I am going with this....
At this point the best solution seems to be , put a comment in the makefile and in the manual, that "if you change the name of the target of the link", you must rebuild by hand. In other words, drop "MAKEFILE" from the prerequisites. People will look at this and will say "Mark I thought you can handle this".
Yes some people say links are a wart, I am not a guru enough to judge such things, I am just a larval-stage wannabe...
Mark
>
from: $(MAKEFILE)
ln -sf to $@ >/dev/null 2>&1
_______________________________________________
Help-make mailing list
Help-make@gnu....
https://lists.gnu.org/mailman/listinfo/help-make
opensubscriber is not affiliated with the authors of this message nor responsible for its content.