Eric Blake-1 scripsit: > > 2. ls.c depends ls-clp.h (the generated parser) > > ls-clp.h depends on ls.gp (the genparse file) > > ls.gp depends on ls.c because ls.gp is embedded as a comment in ls.c > > -> There is a circular dependency! > > That seems wrong to me. Isn't it really:
Indeed. People tend to believe that .c files depend on .h files that they include, but in fact they don't; the .o file depends on both the .c file and the .h file. See "Recursive Make Considered Harmful" for a discussion of this. -- Eric Raymond is the Margaret Mead John Cowan of the Open Source movement. [EMAIL PROTECTED] --Bruce Perens, http://www.ccil.org/~cowan some years ago _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils