Re: Portable Use of Variables

2014-11-11 Thread Eric Blake
On 11/11/2014 10:59 AM, fr33domlover wrote: >>> The first form of expansion on that page, $(var:.a=.b), should be OK. >>> They are standard in POSIX and work on all make implementations that I >>> know of. >>> >>> The version with % characters is not portable. >> >> That said, POSIX is hoping to s

Re: Portable Use of Variables

2014-11-11 Thread fr33domlover
On 2014-10-27 Eric Blake wrote: > On 10/27/2014 11:11 AM, Nick Bowler wrote: > > On 2014-10-26 22:15 +0200, fr33domlover wrote: > >> I'm a bit confused about all the expressive features and ways to use > >> makefile variables, so just to be sure - > >> > >> http://www.gnu.org/software/make/manual

Re: Portable Use of Variables

2014-10-27 Thread Eric Blake
On 10/27/2014 11:11 AM, Nick Bowler wrote: > On 2014-10-26 22:15 +0200, fr33domlover wrote: >> I'm a bit confused about all the expressive features and ways to use makefile >> variables, so just to be sure - >> >> http://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html >> >> Are th

Re: Portable Use of Variables

2014-10-27 Thread Nick Bowler
On 2014-10-26 22:15 +0200, fr33domlover wrote: > I'm a bit confused about all the expressive features and ways to use makefile > variables, so just to be sure - > > http://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html > > Are these uses of variables portable, or should a porta

Portable Use of Variables

2014-10-26 Thread fr33domlover
Hello, I'm a bit confused about all the expressive features and ways to use makefile variables, so just to be sure - http://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html Are these uses of variables portable, or should a portable Makefile.am use only the plain $(var) form wit