On 11/13/06, Gerard Krol <[EMAIL PROTECTED]> wrote:
And it is not that every user needs to run "make depend", it just needs
to be done when there are changes to the includes. I believe there are switches 
to make
gcc do the same as makedepend, but a lot slower.

I do not know about slower, but there is no need to add dependencies
to files that are checked in, at least not if you use gcc -M. The
standard way to do this is, it seems, to create new, hidden files with
dependency information for each .c file. In autohell, those are added
as .Po files in a separate .deps directory. One advantage of this is
that you do not need to check in changes to dependencies to the
repository.

I had some fun with gnu make and gcc -M a few months ago, and created
a very generalized build system with only those two components,
including configuration checking, 'make dist' and dependency
generation. You can see it at
http://svn.gna.org/viewcvs/buckyball/trunk/ if you are interested. I
do not know how well something like that would scale.

 - Per

_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to