Bertho Stultiens <[EMAIL PROTECTED]> writes:
> Oh yeah, thats right. I forgot all about that. The problem with makedep
> is that is *assumes* that xyz.y translates into y.tab.c (and y.tab.h)
> and xyz.l into lex.yy.c. This is the real problem.
>
> I need to have the conversions of ppl.l and ppy.y (into ppy.tab.c and
> lex.ppl.c) *before* makedep is called because it must scan them and
> enter them into the dependency list.
>
> Don't know for sure how it should be fixed though. I'll have too into
> that. Are there others with expertise in this matter?
That's what the -C flag in makedep is for. We used to have a separate
make variable for generated files to handle this case; it has been
removed because it was no longer needed but we could put it back in.
For portability reasons it would be better to not rely on lex/yacc
being able to generate anything else than lex.yy.c/y.tab.c; but I
understand this may not be trivial in this case.
--
Alexandre Julliard
[EMAIL PROTECTED]