help-make
[Top][All Lists]
Advanced

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

Re: Variable confusion


From: Gary
Subject: Re: Variable confusion
Date: Tue, 15 Jun 2010 15:55:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (cygwin)

Greg Chicares writes:
> On 2010-06-15 12:23Z, Gary wrote:
>> | INCL=`find ${LIB_ROOT} -type d \! \( -name '.*' -prune \) | sed -e 's/^/-I 
>> /'`
>
> This is a makefile, not a shell script--so $(INCL) is a variable
> containing the literal string given

Aha! Thanks.

> INCL := $(shell find ${LIB_ROOT} -type d \! \( -name '.*' -prune \) | sed -e 
> 's/^/-I /')

Okay, that would be better in this instance. Thanks again.




reply via email to

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