Follow-up Comment #4, bug #16145 (project make): Either of your proposed solutions will work fine for me, and the first one (mentioning things explicitly to prevent them from being removed) is what I've done for years and was doing until I decided that, after having been using gnu make for 10 years, it was time to reread the documentation all the way through see what new features had been introduced! I failed to realize that one of the side effects of a target being declared secondary is that make doesn't consider it out of date when it doesn't exist, but when I think about it, that's pretty obviously the correct behavior since otherwise every build would end up regenerating it if it disappeared.
I can't convince you that I need a global .SECONDARY because I don't believe it myself now that I actually correctly understand what it does. :-) I generally prefer to have my intermediate targets stick around, but there are ways to make this happen, as you pointed out. Actually, I don't think my current build system has any implicit intermediate targets at the moment since it invokes make with -rR anyway, though I might have coded some chain of implicit rules at some point and forgotten about it. No matter though. Thanks for the prompt responses. I consider this issue resolved. Feel free to close it. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=16145> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make