On Tue, Nov 25, 2008 at 11:26 AM, T T <[EMAIL PROTECTED]> wrote:
> My situation is that my target in parent makefile need some dep-file and
> obj-file generated by sub makefile. Now I use BUILDUNITS := $(shell cd
> $(WORKAREA)/subdir && $(MAKE) $(MAKECMDGOALS) ) to call sub makefile. When I

This isn't a "make" in the conventional sense -you're running a shell
command which just happens to be make. The $(shell) command has no
particular error handling features. To get this to work would be a bit
of hassle. e.g. set a flag file if your $(shell) command fails (you'll
have to do that in the $(shell) command itself), then check for that
flag with:

ifneq (,$(wildcard my_error_file)
$(error my build broke)
endif

or something along those lines.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to