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


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

Reply via email to