Message-Id: <199807070014.BAA19156@sable.ox.ac.uk> Comments: Authenticated sender is From: George Foot To: Gisle Vanem Date: Tue, 7 Jul 1998 01:13:05 +0000 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: linking huge project Reply-to: george DOT foot AT merton DOT oxford DOT ac DOT uk CC: djgpp AT delorie DOT com Precedence: bulk On 6 Jul 98 at 18:30, Gisle Vanem wrote: > file.rsp can be generated automatically by make. OTOH, do something > like: > > libfile.a: file.rsp > ar rvs @file.rsp > > file.rsp: makefile > echo $(OBJS) > $< I don't think that's right. make --dry-run gives: : echo x.o y.o z.o > makefile : ar rvs @file.rsp Overwriting the makefile is probably not what you wanted to do. You probably meant "$@" instead of "$<". > BTW. Borland's make has the inline file-operator which AFAIK lacks > in GNU make: > > libfile.a: > ar rvs @&&| > $(OBJS) > | > > Anybody know how to accomplish the same with GNU-make? Sorry, I don't know what this achieves so I can't say. Perhaps you could explain what its effect is? -- george DOT foot AT merton DOT oxford DOT ac DOT uk