Work better with other versions of bison

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4290 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-10-27 19:06:56 +00:00
parent 683d5da9fb
commit a50d6ec97d
2 changed files with 2 additions and 6 deletions

View File

@ -6,9 +6,7 @@ EXTRASOURCES = gram.tab.c
include $(LEVEL)/Makefile.common
gram.tab.c gram.tab.h: gram.yc
$(VERB) $(BISON) -d $<
$(VERB) mv -f gram.tab.cc gram.tab.c
$(VERB) mv -f gram.tab.hc gram.tab.h
$(VERB) $(BISON) -o gram.tab.c -d $<
clean::
rm -ff gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp

View File

@ -6,9 +6,7 @@ EXTRASOURCES = gram.tab.c
include $(LEVEL)/Makefile.common
gram.tab.c gram.tab.h: gram.yc
$(VERB) $(BISON) -d $<
$(VERB) mv -f gram.tab.cc gram.tab.c
$(VERB) mv -f gram.tab.hc gram.tab.h
$(VERB) $(BISON) -o gram.tab.c -d $<
clean::
rm -ff gram.tab.h gram.tab.c core* *.aux *.log *.dvi sample sample.c tmp