Mail Archives: djgpp/2000/04/19/09:14:30
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
- Raw text -