Felix Lee <[EMAIL PROTECTED]>: > cc_0=`echo "$(CC)" | sed -e 's/^/cc0:/'` > # or this: > #cc_0=testing > > PREPEND=sed -e 's/^/pre:/' > FLAGS= > first: > make $(FLAGS) next > next: > echo "$(CC)" ok, on second thought, a better way of doing this is to move the computation of the value for CC into the shell commands, something like so: cc_0=`echo "$(CC)" | sed -e 's/^/cc0:/'` # or this: #cc_0=" tes ting " PREPEND=sed -e 's/^/pre:/' FLAGS= first: cc=$(cc_0); \ cc=`echo "$$cc" | $(PREPEND)`; \ make $(FLAGS) "CC=$$cc" next next: echo "$(CC)" --
- Re: rfc: new libgcc build mechanism Paul D. Smith
- Re: rfc: new libgcc build mechanism Paul D. Smith
- RE: rfc: new libgcc build mechanism Donn Terry
- RE: rfc: new libgcc build mechanism Donn Terry
- RE: rfc: new libgcc build mechanism Donn Terry
- RE: rfc: new libgcc build mechanism Donn Terry
- Re: rfc: new libgcc build mechanism Felix Lee
- Re: rfc: new libgcc build mechanism Felix Lee
- RE: rfc: new libgcc build mechanism Donn Terry
- Re: rfc: new libgcc build mechanism Felix Lee
- Re: rfc: new libgcc build mechanism Felix Lee
- Re: rfc: new libgcc build mechanism Michael Sokolov
- Re: rfc: new libgcc build mechanism Jeffrey A Law
- Re: rfc: new libgcc build mechanism Michael Sokolov
- Re: rfc: new libgcc build mechanism Lars Hecking
- Re: rfc: new libgcc build mechanism Greg A. Woods
- RE: rfc: new libgcc build mechanism Michael Sokolov
- Re: rfc: new libgcc build mechanism Michael Sokolov