Follow-up Comment #4, bug #67825 (group make): In your third example make is building one target from a set of grouped targets. In such case, make has to update all prerequisites of all grouped targets. That's because the recipe updates all targets and therefore all prerequisites (even prerequisites of other targets from the set) have to be fresh. Yes, make walks through the prerequisites of all targets and still in make's dependency graph file2 is a prerequisite of target2 only. You can see make's database with -p.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67825>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
