From 0aaa124f3ef1f483298ed45fec506bc75bd6a443 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Wed, 6 Nov 1991 06:49:20 +0000 Subject: [PATCH] * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files are created in place, so the mv fails, then the make continues. --- gdb/ChangeLog | 7 +++++++ gdb/Makefile.in | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a5cb83ff36..b33d117247 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +Tue Nov 5 22:47:46 1991 Steve Chamberlain (sac at cygnus.com) + + * Makefile.in: put a - infront of the mv y.tab.c c-exp.tab.c and + mv y.tab.c m2-exp.tab.c, so that if bison is used, and the files + are created in place, so the mv fails, then the make continues. + + Tue Nov 5 16:47:47 1991 Per Bothner (bothner at cygnus.com) Add C++ as a separate language. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e42289c105..c2a98c6d1e 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -598,14 +598,14 @@ c-exp.tab.o: c-exp.tab.c c-exp.tab.c: $(srcdir)/c-exp.y @echo 'Expect 4 shift/reduce conflicts.' ${YACC} $(srcdir)/c-exp.y - mv y.tab.c c-exp.tab.c + - mv y.tab.c c-exp.tab.c # m2-exp.tab.c is generated in target dir from m2-exp.y if it doesn't exist # in srcdir, then compiled in target dir to m2-exp.tab.o. m2-exp.tab.o: m2-exp.tab.c m2-exp.tab.c: $(srcdir)/m2-exp.y ${YACC} $(srcdir)/m2-exp.y - mv y.tab.c m2-exp.tab.c + - mv y.tab.c m2-exp.tab.c # The symbol-file readers have dependencies on BFD header files. dbxread.o: ${srcdir}/dbxread.c -- 2.34.1