This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Makefile and bfin-parse.c ?


On 10/25/05, H. J. Lu <hjl@lucon.org> wrote:
> > > Jie Zhang <jzhang918@gmail.com> writes:
> > I tried it. The warnings were still there.
> >
>
> Is bfin-parse.tab.h really needed? This patch seems to work.
>
> -bfin-parse.c bfin-parse.tab.h: $(srcdir)/config/bfin-parse.y

Oh, It's a typo of my last patch to rename bfin-parse.tab.h to
bfin-parse.h. It should be

  bfin-parse.c bfin-parse.h: $(srcdir)/config/bfin-parse.y

I will fix it when I can access the CVS on sourceware.org.

Anyway, writing both targets in yacc rule is a common practice. And
it's OK for itbl-parse.c and itbl-parse.h.

Thanks,
Jie


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]