Am Montag, 13. November 2006 19:12 schrieb Gerard Krol: > Per Inge Mathisen wrote: > > 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. > > You mean that the dependency information is already there (in the .c > files) so we should not commit it to SVN another time? > > > 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. > > This is a bit of a problem if we want Makefile.raw to be able to run > from within a dos shell (no sed for example). What exactly does this sed magic do, actually? To me it looks like: - Remove comentary lines - ? - Remove ending backslashes - Remove empty lines - ?
Is that all needed? I tested it a bit and didn't get any comments or empty lines. Ending backslashes don't seem evil to me, either. Are they interpreted badly by mingw32-make? --Dennis
pgpfrcbrvpih8.pgp
Description: PGP signature
_______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev