help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (no subject)


From: Greg Chicares
Subject: Re: (no subject)
Date: Tue, 06 Sep 2005 19:22:39 +0000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

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]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]