aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-09-19 22:16:24 +0000
committerJohn Gilmore <gnu@cygnus>1991-09-19 22:16:24 +0000
commitcd93283c870b23902419e17276485bcfeb571c8c (patch)
tree47dafa6087794f6f11b9bd1c53e4de1d0f54f8b6 /gdb
parentf3d70fe521934fe02520ae5ffbb5c35bcc33e375 (diff)
downloadgdb-cd93283c870b23902419e17276485bcfeb571c8c.zip
gdb-cd93283c870b23902419e17276485bcfeb571c8c.tar.gz
gdb-cd93283c870b23902419e17276485bcfeb571c8c.tar.bz2
Circumvent Sun Make bug on *-exp.tab.o.
Diffstat (limited to 'gdb')
-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