🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1160

recursive dependencies

#1160
From: David Karr
Date: Sun, 27 Dec 1992 22:08
18 lines
983 bytes
(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)
Technical Details
Message-ID: <1992Dec27.220809.13971@sierra.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!sierra.COM!dkarr

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!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