Update of bug #55532 (project make): Status: None => Not A Bug Open/Closed: Open => Closed
_______________________________________________________ Follow-up Comment #5: I've changed my mind: I don't think this is a bug. The docs for .SECONDARY say: > [.SECONDARY targets] are treated as intermediate files which means they are not rebuilt when they are missing. The docs for $? say it contains: > The names of all the prerequisites that are newer than the target In other words, the prerequisites that caused the target to be rebuilt. If you don't rebuild the prerequisite, then it's not in $?. If it's intermediate, and it has no recipe, then it doesn't cause the target to be rebuilt (in your example, for instance, if you touch foo so that it's newer than baz, then the recipe will not be run even though bar is missing). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55532> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/