Re: target-specific 'define'd variables (3.80)?

2004-07-06 Thread Paul D. Smith
%% Boris Kolpackov <[EMAIL PROTECTED]> writes: bk> Paul D. Smith <[EMAIL PROTECTED]> writes: >> I don't see any reason technically that it couldn't be done. bk> That's what I thought too. Also it would be nice to extend the concept bk> of target/pattern-specificity to other parts of make,

Re: target-specific 'define'd variables (3.80)?

2004-07-06 Thread Boris Kolpackov
Paul D. Smith <[EMAIL PROTECTED]> writes: > I don't see any reason technically that it couldn't be done. That's what I thought too. Also it would be nice to extend the concept of target/pattern-specificity to other parts of make, e.g.: /foo/bar: foo := hello foo := $(/foo/bar: foo) #

Re: target-specific 'define'd variables (3.80)?

2004-07-06 Thread Paul D. Smith
%% "Paul D. Smith" <[EMAIL PROTECTED]> writes: pds> I don't see any reason technically that it couldn't be done. The pds> parser would need to be massaged somewhat. I can't remember pds> whether the function that parses define/endef also creates the pds> variable, or whether it just retu

Re: target-specific 'define'd variables (3.80)?

2004-07-06 Thread Paul D. Smith
%% Boris Kolpackov <[EMAIL PROTECTED]> writes: bk> "Paul D. Smith" <[EMAIL PROTECTED]> writes: >> %% Will Partain <[EMAIL PROTECTED]> writes: >> wp> Hi; I don't know if the little Makefile below *ought* to wp> work or not; it seems it should. >> >> No. define/endef is not supporte

Re: target-specific 'define'd variables (3.80)?

2004-07-06 Thread Boris Kolpackov
"Paul D. Smith" <[EMAIL PROTECTED]> writes: > %% Will Partain <[EMAIL PROTECTED]> writes: > > wp> Hi; I don't know if the little Makefile below *ought* to > wp> work or not; it seems it should. > > No. define/endef is not supported directly in kernel-specific > variables. The entire defini