help-make
[Top][All Lists]
Advanced

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

Re: White Space Problems--Again


From: Greg Chicares
Subject: Re: White Space Problems--Again
Date: Sun, 29 Mar 2009 01:28:40 +0000
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

On 2009-03-28 22:30Z, Tom Browder wrote:
> 
> [...]  I'm used to quoting a token if I want embedded spaces

But 'make' variables are more list oriented, and quote characters
often won't do what you might be expecting. Thus,
  _a_ _b_ _c_
is the output of this makefile:

x := "a b c"
z := $(foreach h,$(x),_$(h)_)

.PHONY: all
all:
        @echo $(z)




reply via email to

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