From: John Gilmore Date: Thu, 19 Sep 1991 22:16:24 +0000 (+0000) Subject: Circumvent Sun Make bug on *-exp.tab.o. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cd93283c870b23902419e17276485bcfeb571c8c;p=binutils-gdb.git Circumvent Sun Make bug on *-exp.tab.o. --- diff --git a/gdb/Makefile.in b/gdb/Makefile.in index b4befbfce43..aaf6ddc9493 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -572,6 +572,7 @@ version.c : Makefile.in # c-exp.tab.c is generated in srcdir from c-exp.y, then compiled in target # directory to c-exp.tab.o. +c-exp.tab.o: ${srcdir}/c-exp.tab.c ${srcdir}/c-exp.tab.c : $(srcdir)/c-exp.y @echo 'Expect 4 shift/reduce conflicts.' ${YACC} $(srcdir)/c-exp.y @@ -579,6 +580,7 @@ ${srcdir}/c-exp.tab.c : $(srcdir)/c-exp.y # m2-exp.tab.c is generated in srcdir from m2-exp.y, then compiled in target # directory to m2-exp.tab.o. +m2-exp.tab.o: ${srcdir}/m2-exp.tab.c ${srcdir}/m2-exp.tab.c : $(srcdir)/m2-exp.y ${YACC} $(srcdir)/m2-exp.y mv y.tab.c ${srcdir}/m2-exp.tab.c