www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/07/03:25:21

Date: Tue, 7 Jul 1998 09:22:52 +0200 (CEST)
Message-Id: <199807070722.JAA01074@login-2.eunet.no>
From: "Gisle Vanem" <giva AT bgnett DOT no>
To: george DOT foot AT merton DOT oxford DOT ac DOT uk
Cc: djgpp AT delorie DOT com
Subject: Re: linking huge project
MIME-Version: 1.0

George Foot wrote:

>> 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?

The rule should of course be:

libfile.a:
       ar rvs libfile.a @&&|
         $(OBJS)
|

Borland's Make would then create a temporary response file with all
$(OBJS) listed. Like `ar rvs libfile.a @make0001.@@@'.

Now, does GNU make have anything similar?

Gisle V.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019