[sane-devel] saned array memory limit

Julien BLACHE jb@jblache.org
Thu, 14 Oct 2004 22:40:21 +0200


Henning Meier-Geinitz <henning@meier-geinitz.de> wrote:

>> Speaking of that, would it be possible to use .depend files to track
>> dependencies ? That would be very handy, given that the Makfiles
>> currently do not track dependencies, and sometimes can't do it
>> (#include <foo.c>).
>
> Could you explain how that works or where I can read more about it?

It basically boils down to : gcc -E -MM foo.c > .depend, and then
including the resulting file in the Makefile.

This depends on gcc, but there are a couple of standalone dependency
extractors lying around (a quick search on google indicates there's
one in X, called makedepend, but I haven't verified).

> I have already thought about using automake to generate the makefiles
> but I guess we would need lots of special rules at least for backend/.

Yes, it'd take some time to get it up & running...

JB.

-- 
Julien BLACHE                                   <http://www.jblache.org> 
<jb@jblache.org>                                  GPG KeyID 0xF5D65169