[Dang it, fingers slipped and I sent while still editting. So to continue...]
Note that the desired makefile mentioned above:
local_objects = a.o b.o c.o d.o
all: all-recursive .WAIT all-local
all-recursive:
$(MAKE) -C subdir all
all-local: $(local_objects)
can *currently* be implemented like this:
local_objects = a.o b.o c.o d.o
all: all-recursive
$(MAKE) all-local
all-recursive:
$(MAKE) -C subdir all
all-local: $(local_objects)
The choice to use recursive make means you've given up on maximizing
your parallelism (because your dependency tree has to be a superset of
the real tree). As long as you've burned that bridge, why not use it
here to express the ordering?
Philip Guenther
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make