help-make
[Top][All Lists]
Advanced

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

Re: Target-specific Variable woes


From: Greg Chicares
Subject: Re: Target-specific Variable woes
Date: Wed, 01 Oct 2008 22:01:50 +0000
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

On 2008-10-01 21:38Z, Rinehart, Raleigh wrote:
> 
> Here is where the problem is the ifneq test never works like I
> expect, however if I use this test:
>   $(if $(RENPREFIX),$(foreach lobj,$^,$(renobj)))
> then everything works like I expect.

Conditionals like ifneq are processed before a rule's commands,
so they don't depend on values that variables acquire later.

http://www.gnu.org/software/automake/manual/make/Reading-Makefiles.html




reply via email to

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