Satish Balay <[email protected]> writes: > On Thu, 23 May 2013, Jed Brown wrote: > >> Satish Balay <[email protected]> writes: >> >> > Hm - that might mean all variants here - 'win32fe', 'ar' etc have to >> > support the @cmdfile notation? >> >> FWIW, 'ar' does support @file. So if the problem is deeper, than may >> still be a good option. > > Looks like win32fe isn't passing in @cmdfile option. > > BTW: one issue with @file option - If I remember correctly: there is > some length limit to options listed here. [It prefers options split > across multiple lines - rather than a single big line]. But perhaps > gnumake's support of this feature takes care of that problem.
This looks funny, but will work: $(file >[email protected],) # Truncate the file $(foreach O, $^, $(file >> [email protected],$O)) # Append lines
