Follow-up Comment #4, bug #59490 (project make): I've checked other implementations of make that aim to be POSIX compatible and they also do not rebuild d1 in this situation. I can't find any text in POSIX that specifies how this should behave. Indeed, the POSIX spec is very limited in its discussion of targets that do not have commands.
In fact one other make implementation I found will never consider d1 to be out of date no matter how many times you run it, if the c1 target doesn't have a recipe. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?59490> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/