tech-toolchain archive

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

Re: make: empty expansion if mixing round and curly braces



> It's a "feature":
That's what I expected.

> BRACE=}
> VAR$(BRACE)=plop
> 
> foo:
> 	echo $(VAR})
What's the point/reason I can't write
	VAR}=plop
while I don't need to write
	echo $(VAR$(BRACE))
?
I'd been inclined to accept this as a feature if I needed to write VAR$(BRACE) 
in both places.

> I'm not sure what make thinks the variable name is if you leave off
> the close-paren entirely, but I'm sure it's *something* and if you can
> figure out what you can give that variable a value
I tried both -dv and -dp to no avail.


Home | Main Index | Thread Index | Old Index