From bedbcf65e210e97bfc60d6182a5b3aa95fadc4fa Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Mon, 6 Aug 2001 19:06:43 +0000 Subject: [PATCH] And add rule to create a .cpp source file from burg input file! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.common | 4 ++++ Makefile.rules | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Makefile.common b/Makefile.common index 0c735d24f64..fa914fa7955 100644 --- a/Makefile.common +++ b/Makefile.common @@ -186,6 +186,10 @@ Debug/%.o: %.cpp Debug/.dir Depend/.dir Debug/%.o: %.c Debug/.dir Depend/.dir $(CompileG) $< -o $@ +# Create a .cpp source file from a burg input file +%.burm.cpp: %.burg + $(RunBurg) $< -o $@ + # Create a .cpp source file from a flex input file... this uses sed to cut down # on the warnings emited by GCC... %.cpp: %.l diff --git a/Makefile.rules b/Makefile.rules index 0c735d24f64..fa914fa7955 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -186,6 +186,10 @@ Debug/%.o: %.cpp Debug/.dir Depend/.dir Debug/%.o: %.c Debug/.dir Depend/.dir $(CompileG) $< -o $@ +# Create a .cpp source file from a burg input file +%.burm.cpp: %.burg + $(RunBurg) $< -o $@ + # Create a .cpp source file from a flex input file... this uses sed to cut down # on the warnings emited by GCC... %.cpp: %.l