home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / lang / ada / 2538 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.3 KB

  1. Path: sparky!uunet!ogicse!news.u.washington.edu!uw-beaver!simonson
  2. From: simonson@cs.washington.edu (Kevin Simonson)
  3. Newsgroups: comp.lang.ada
  4. Subject: Getting a.make to Stop on its First Compilation Error
  5. Summary: How do I get it to?
  6. Keywords: verdix a.make error abort
  7. Message-ID: <1992Sep4.201939.900@beaver.cs.washington.edu>
  8. Date: 4 Sep 92 20:19:39 GMT
  9. Article-I.D.: beaver.1992Sep4.201939.900
  10. Sender: news@beaver.cs.washington.edu (USENET News System)
  11. Organization: Computer Science & Engineering, U. of Washington, Seattle
  12. Lines: 18
  13.  
  14.  
  15.      In the project I'm working on, I've been making extensive use of Ver-
  16. dix's "a.make" to recompile only those files that have become obsolete
  17. since the last compilation.
  18.  
  19.      This works fine when there are no errors in the code, but if there
  20. _are_ errors, then after "a.make" reports those errors, it merrily goes on
  21. its way trying to compile the rest of the files.  In my case, those other
  22. files usually bomb too, for the simple reason that they usually depend on
  23. the file that caused the first error.
  24.  
  25.      I've gone through the man pages provided by "a.help a.make", but I
  26. can't find any option that directs "a.make" to abort execution as soon as
  27. it finds the first error, and not go on to the other files.
  28.  
  29.      Does anybody know how I would go about doing this?  Thanks.
  30.  
  31.                                      ---Kevin Simonson
  32.