🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #414

Re: Is this a "make" limitation?

#414
From: Mike Percy
Date: Tue, 21 Jul 1992 19:59
23 lines
1367 bytes
tpradeep@cs.tamu.edu (Pradeep K Tapadiya) writes:

>Given, say, 30 dependent files, my makefile compiles the source files as
>   cl -c a.c
>   cl -c b.c
>   cl -c c.c
>   and so on for all those source files which are out of date.
>Obviously, for each such source file there is an overhead of
>loading and releasing the compiler. A better construct would be
>  cl -c a.c b.c c.c ...
>wherein the compiler is loaded and released just once.

The Borland make has a construct {} that does this.
.c.obj:
   tcc -c {$< }
gives the desired behavior (builds a long command line to execute
multiple compiles with each load of the compiler, splitting them up if
the line would be too long).

Mike Percy             | grimlok@hubcap.clemson.edu  | I don't know about
Sr. Systems Analyst    | mspercy@clemson.clemson.edu | your brain, but mine
Info. Sys. Development | mspercy@clemson.BITNET      | is really...bossy.
Clemson University     | (803) 656-3780              | (Laurie Anderson)
Technical Details
Message-ID: <1992Jul21.195950.27164@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!hubcap!grimlok
References: <1992Jul21.162641.5897@tamsun.tamu.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!hubcap!grimlok
From: grimlok@hubcap.clemson.edu (Mike Percy)
Subject: Re: Is this a "make" limitation?
Message-ID: <1992Jul21.195950.27164@hubcap.clemson.edu>
Organization: Clemson University
References: <1992Jul21.162641.5897@tamsun.tamu.edu>
Date: Tue, 21 Jul 1992 19:59:50 GMT
Lines: 23