home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / unix / question / 13043 < prev    next >
Encoding:
Text File  |  1992-11-07  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!eff!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!noc.msc.net!news.stolaf.edu!guenther
  3. From: guenther@stolaf.edu (Philip Guenther)
  4. Subject: Re: simple makefile question
  5. In-Reply-To: ejh@khonshu.colorado.edu's message of 4 Nov 92 11:27:11
  6. Message-ID: <GUENTHER.92Nov5191244@lars.stolaf.edu>
  7. Sender: news@news.stolaf.edu
  8. Organization: Academic Computing Center, St. Olaf College
  9. References: <EJH.92Nov4112711@khonshu.colorado.edu>
  10. Date: 5 Nov 92 19:12:44
  11. Lines: 21
  12.  
  13. In article <EJH.92Nov4112711@khonshu.colorado.edu> ejh@khonshu.colorado.edu (Edward J. Hartnett) writes:
  14. <story and makefiles deleted>
  15.  
  16.    I thought that all dependancies are evaluated, but it seems to do only
  17.    the first! Any help out there?
  18.  
  19. Make starts with the first entry by default, evaluating from there.
  20. Thus to make all things by default, insert as the first target, the
  21. target "all" with dependencies atobf and rdhdr, as so:
  22.  
  23. all:    atobf rdhdr
  24.  
  25. Thus when you just do a make or a make all, it will check to see if
  26. each of the other programs is up to date.
  27.  
  28. Philip Guenther
  29. --
  30. guenther@stolaf.edu (Philip Guenther)       | The ACC might agree with me,
  31. Student Sys Prog, Academic Computing Center | but with that bunch, (and me)
  32. St Olaf College, Northfield, MN 55057-1001  | you never know... :-) :-| :-(
  33. "Life makes sense?  LIFE MAKES SENSE!!?  Where do people get these ideas?"-me
  34.