On 2008-11-25 09:45Z, Tao T wrote: > I just use this kind of command to achieve recursive make call: > BUILDUNITS := $(shell cd $(WORKAREA)/sub_dir && $(MAKE) $(MAKECMDGOALS))
Why not avoid $(shell) and use make's own directory-change option?
.PHONY: all
all:
$(MAKE) --directory=$(WORKAREA)/sub_dir $(MAKECMDGOALS)
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make
