home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.utils.bug
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sierra.COM!dkarr
- From: dkarr@sierra.COM (David Karr)
- Subject: recursive dependencies
- Message-ID: <1992Dec27.220809.13971@sierra.com>
- Sender: gnulists@ai.mit.edu
- Organization: Sierra Geophysics, Kirkland WA
- Distribution: gnu
- Date: Sun, 27 Dec 1992 22:08:09 GMT
- Approved: bug-gnu-utils@prep.ai.mit.edu
- Lines: 19
-
- (I would have written this in gnu.make.help or gnu.utils.help, but neither
- of those existed.)
-
- Is there any way to have Gmake figure out recursive dependencies? In other
- words, if I have two dependencies like this:
-
- source.o: source.cc
- source.cc: inc.h
-
- and "inc.h" is changed, I would like it to figure out that it needs to
- recompile "source.cc" to make "source.o". So far, my experiments show that
- this doesn't work.
-
- --
- David M. Karr
- Sierra Geophysics, Inc.
- ARPA: dkarr@sierra.com, UUNET: uunet!sgihbtn!dkarr
- Phone: (206) 822-5200 (x343)
-
-