aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index b4befbf..aaf6ddc 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