Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: AW: Re: Driver 2002-11-08 problems



Florian Schirmer wrote:
> Hi,
> 
> 
>>Not if '$(wildcard *.d)' doesn't return any names.
>>'-include' only suppresses error messages if any of the _given_ files
> 
> doesn'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...


> 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...

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!

Holger




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index