Article View: comp.os.msdos.programmer
Article #413Re: Is this a "make" limitation?
From: George Jetson
Date: Tue, 21 Jul 1992 17:07
Date: Tue, 21 Jul 1992 17:07
39 lines
1998 bytes
1998 bytes
In article <1992Jul21.162641.5897@tamsun.tamu.edu> tpradeep@cs.tamu.edu (Pradeep K Tapadiya) writes:
>I am wondering if I can increase my developement time and reduce the
>wear and tear on the disk by using a better makefile construct.
(Don't you want to decrease your developement time [or do they pay you
by the hour...?])
> 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 ...
Borland's MAKE allows "batching" of files. That is, you can write:
bcc -c {x.c }
bcc -c {y.c }
etc
and it will collect them intelligently, if possible.
The other thing, that does make a massive difference, is to put the
compiler on a RAM disk.
(When compiling DVGLUE, this is an absolute essential! Though, one of
these days, I'm going to re-write the DVGLUE makefile to use batching.)
************************************************************************
Please don't drink the battery acid, it tastes bad and will hurt you.
Also, don't bite the tyres, especially when the bike is moving.
(Our lawyers made us put this in this manual.)
- pynq@quads.uchicago.edu, who is still costing the net
hundreds, if not thousands, of dollars, every time he posts -
************************************************************************
Technical Details
Message-ID:
<1992Jul21.170702.10187@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!cs.utexas.edu!mercury.unt.edu!news.oc.com!spssig.spss.com!uchinews!quads!pynqReferences:
<1992Jul21.162641.5897@tamsun.tamu.edu>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!cs.utexas.edu!mercury.unt.edu!news.oc.com!spssig.spss.com!uchinews!quads!pynq From: pynq@quads.uchicago.edu (George Jetson) Subject: Re: Is this a "make" limitation? Message-ID: <1992Jul21.170702.10187@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Reply-To: pynq@midway.uchicago.edu Organization: D. J. Dougherty & Associates References: <1992Jul21.162641.5897@tamsun.tamu.edu> Date: Tue, 21 Jul 1992 17:07:02 GMT Lines: 39