Work better with other versions of bison
authorChris Lattner <sabre@nondot.org>
Sun, 27 Oct 2002 19:06:56 +0000 (19:06 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 27 Oct 2002 19:06:56 +0000 (19:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4290 91177308-0d34-0410-b5e6-96231b3b80d8

support/tools/Burg/Makefile
utils/Burg/Makefile

index c8586aa7eff502b58f26b9237de0374b95c068e4..bbf5baa66c0b7e1feda435431ad2b69cfa020f58 100644 (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
index c8586aa7eff502b58f26b9237de0374b95c068e4..bbf5baa66c0b7e1feda435431ad2b69cfa020f58 100644 (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