Message-Id: <200004191406.JAA04929@darwin.sfbr.org> Date: Wed, 19 Apr 2000 09:06:56 -0500 (CDT) From: Jeff Williams Subject: OT: `make clean' wants to rebuild `.d' files To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Content-MD5: SgR8Ae4gm10EypOmUR20ng== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.4 SunOS 5.7 sun4u sparc Reply-To: djgpp AT delorie DOT com As described in the info file for `make', I am using a pattern rule to generate `.d' files for each C source file, then including the `.d' files, as follows: depends=$(sources:.c=.d) include $(depends) But now `make clean' will insist on remaking any stale `.d' files before deleting anything (including the `.d' files!). And `make info' will remake stale `.d' files which have nothing to do with the `.txi' sources! This is really annoying; I understand why this is happening, but is there a more efficient way to include the `.d' files? TIA---jtw