home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / msdos / programm / 7992 < prev    next >
Encoding:
Text File  |  1992-07-21  |  1.9 KB  |  52 lines

  1. Newsgroups: comp.os.msdos.programmer
  2. Path: sparky!uunet!wupost!cs.utexas.edu!mercury.unt.edu!news.oc.com!spssig.spss.com!uchinews!quads!pynq
  3. From: pynq@quads.uchicago.edu (George Jetson)
  4. Subject: Re: Is this a "make" limitation?
  5. Message-ID: <1992Jul21.170702.10187@midway.uchicago.edu>
  6. Sender: news@uchinews.uchicago.edu (News System)
  7. Reply-To: pynq@midway.uchicago.edu
  8. Organization: D. J. Dougherty & Associates
  9. References: <1992Jul21.162641.5897@tamsun.tamu.edu>
  10. Date: Tue, 21 Jul 1992 17:07:02 GMT
  11. Lines: 39
  12.  
  13. In article <1992Jul21.162641.5897@tamsun.tamu.edu> tpradeep@cs.tamu.edu (Pradeep K Tapadiya) writes:
  14.  
  15. >I am wondering if I can increase my developement time and reduce the
  16. >wear and tear on the disk by using a better makefile construct.
  17.  
  18. (Don't you want to decrease your developement time [or do they pay you
  19. by the hour...?])
  20.  
  21. >   cl -c a.c
  22. >   cl -c b.c
  23. >   cl -c c.c
  24. >
  25. >   and so on for all those source files which are out of date.
  26. >Obviously, for each such source file there is an overhead of
  27. >loading and releasing the compiler. A better construct would be
  28. >  cl -c a.c b.c c.c ...
  29.  
  30. Borland's MAKE allows "batching" of files.  That is, you can write:
  31.  
  32.     bcc -c {x.c }
  33.     bcc -c {y.c }
  34.     etc
  35.  
  36. and it will collect them intelligently, if possible.
  37.  
  38. The other thing, that does make a massive difference, is to put the
  39. compiler on a RAM disk.
  40.  
  41. (When compiling DVGLUE, this is an absolute essential!  Though, one of
  42. these days, I'm going to re-write the DVGLUE makefile to use batching.)
  43.  
  44. ************************************************************************
  45. Please don't drink the battery acid, it tastes bad and will hurt you.
  46. Also, don't bite the tyres, especially when the bike is moving.
  47. (Our lawyers made us put this in this manual.)
  48.  
  49.     - pynq@quads.uchicago.edu, who is still costing the net
  50.       hundreds, if not thousands, of dollars, every time he posts -
  51. ************************************************************************
  52.