From a50d6ec97d1302962c9362d2f810e99526d49974 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 27 Oct 2002 19:06:56 +0000 Subject: [PATCH] Work better with other versions of bison git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4290 91177308-0d34-0410-b5e6-96231b3b80d8 --- support/tools/Burg/Makefile | 4 +--- utils/Burg/Makefile | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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