|
From: | Greg Chicares |
Subject: | Re: how to exit the parent_make immediately when get an error in submake |
Date: | Tue, 25 Nov 2008 13:11:47 +0000 |
User-agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
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)
[Prev in Thread] | Current Thread | [Next in Thread] |