Browse Source

* 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-4_18-branch
Steve Chamberlain 35 years ago
parent
commit
0aaa124f3e
  1. 7
      gdb/ChangeLog
  2. 4
      gdb/Makefile.in

7
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.

4
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

Loading…
Cancel
Save