Hi, Jan Engelhardt <jeng...@medozas.de> writes:
> On Monday 2008-12-22 21:36, Ralf Wildenhues wrote: >>> >On Monday 2008-12-15 21:19, William Pursell wrote: >>> >>> >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 >> >>And non-GNU make support $< only in inference rules and not elsewhere. > > In that case, removing V=1 again is probably the best solution. > (Leaving only V=0 and V=infinity) Not necessarily. We could document that V=1 is supported, as in "expected to generate clean output", only on GNU make. On other makes, '$<' probably expands to the empty string, causing only mildly strange looking output otherwise equivalent to V=0. - Hari