Florian Schirmer wrote:
Hi,Not if '$(wildcard *.d)' doesn't return any names. '-include' only suppresses error messages if any of the _given_ filesdoesn't exist. Two things i would like to add: 1. Doesn't adding -MD to the extra flags is enough to make the dependencys work? At least with gcc 3.1 (haven't tried any version below) it seems to work pretty well without any include changes to the Makefile.
don't know...
here you are right - but in any case the current rules are much safer than the ones we had some months before. If anybody has an idea to improve them, send a patch!2. Does including the *.d files work correctly without having a "make dep" run before? gcc generates the dep infos _while_ compiling the *.c files. So make can only include the deps if compiling is already done. You will end up with the deps from the last not the current run. Will work in most cases but...
Holger
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as subject.
