On 5/16/06, PATTON, BILLY (SBCSI) <BP1497 att.com> wrote:
...
> $(warning dogs)
> $(warning $(src+ldb+infgn+gi:$(SRC_TREE)=$(PRD_TREE)))
...
> I know that
> $(src+ldb+infgn+gi:.c=.o) will change the .c to a .o
>
> I assumed that the effort above ,warning wouyld change
the first part
The *only* way to modify a variable's value is to assign to
it. The
$(var:A=B) syntax _only_ changes that expansion and _not_
the value of
'var'. Indeed, it's just a shorthand for some use of the
$(patsubst)
function. Please read section 6.3.1 of the info pages
again.
> Then I could :/infgn=) to get rid of infgn
Just use $(patsubst) twice.
Philip Guenther
_______________________________________________
Help-make mailing list
Help-make gnu.org
http:
//lists.gnu.org/mailman/listinfo/help-make
|