home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / gnu / utils / bug / 2274 < prev    next >
Encoding:
Text File  |  1992-12-27  |  954 b   |  32 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sierra.COM!dkarr
  3. From: dkarr@sierra.COM (David Karr)
  4. Subject: recursive dependencies
  5. Message-ID: <1992Dec27.220809.13971@sierra.com>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Sierra Geophysics,  Kirkland WA
  8. Distribution: gnu
  9. Date: Sun, 27 Dec 1992 22:08:09 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 19
  12.  
  13. (I would have written this in gnu.make.help or gnu.utils.help, but neither
  14. of those existed.)
  15.  
  16. Is there any way to have Gmake figure out recursive dependencies?  In other
  17. words, if I have two dependencies like this:
  18.  
  19.     source.o: source.cc
  20.     source.cc: inc.h
  21.  
  22. and "inc.h" is changed, I would like it to figure out that it needs to
  23. recompile "source.cc" to make "source.o".  So far, my experiments show that
  24. this doesn't work.
  25.  
  26. --
  27. David M. Karr
  28. Sierra Geophysics, Inc.
  29. ARPA: dkarr@sierra.com, UUNET: uunet!sgihbtn!dkarr
  30. Phone: (206) 822-5200 (x343)
  31.  
  32.