Mail Archives: djgpp/1998/07/06/20:14:42
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
- Raw text -