On Monday 2008-12-15 21:48, Jan Engelhardt wrote:
>On Monday 2008-12-15 21:19, William Pursell wrote:
>>
>>Thanks for this Jan, it is really nice functionality.  I don't
>>know if this is a portability issue, but I think it would be nice
>>to change $< to $? in this section:
>>
>>> +           'am__1verbose_CCLD_1   = @echo "  CCLD    " $@ "<-" $<;',
>>> +           'am__1verbose_CXX_1    = @echo "  CXX     " $@ "<-" $<;',
>>> +           'am__1verbose_CXXLD_1  = @echo "  CXXLD   " $@ "<-" $<;',
>
>The intention of using $< was that only one file was shown on the
>right side of the arrow, because all the other files in $^, including
>header files, and I certainly don't need nor want that displayed as
>it is a huge list.
>
>The make info pages mention that $? expands to “all the prerequisites
>that are newer than the target”, and that sounds like there could be
>more than just the .c file.
>
>I just noticed that LD should have used $^.

Replying to myself - no it should not :p

gmake's $^ is not supported by BSD make.
And BSD make's $> is not supported by gmake.
 ( :-/ )^2


Reply via email to