* 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.
This commit is contained in:
Steve Chamberlain 1991-11-06 06:49:20 +00:00
parent a5dc1fdbca
commit 0aaa124f3e
2 changed files with 9 additions and 2 deletions

View File

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

View File

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