On 2005-9-5 5:36 UTC, Praveen SINGH wrote:
> There is a define (xxx_BASE) declared in (_mB). This xxx_BASE is used
> in both the makefiles. I run my _mB to make which inturn internally
> calls _mA. I get a sort of error "define xxx_BASE is not found" in
> making _mA. To avoid this I declared the xxx_BASE in _mA also. But
> that's code duplicay.

In the first makefile, pass the definition to the second makefile.

        $(MAKE) -f _mA xxx_BASE='$(xxx_BASE)' [target to make in _mA]


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

Reply via email to