From: Chris Lattner Date: Sun, 27 Oct 2002 19:06:56 +0000 (+0000) Subject: Work better with other versions of bison X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a50d6ec97d1302962c9362d2f810e99526d49974;p=oota-llvm.git Work better with other versions of bison git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4290 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/support/tools/Burg/Makefile b/support/tools/Burg/Makefile index c8586aa7eff..bbf5baa66c0 100644 --- a/support/tools/Burg/Makefile +++ b/support/tools/Burg/Makefile @@ -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 diff --git a/utils/Burg/Makefile b/utils/Burg/Makefile index c8586aa7eff..bbf5baa66c0 100644 --- a/utils/Burg/Makefile +++ b/utils/Burg/Makefile @@ -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