And add rule to create a .cpp source file from burg input file!
authorVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 6 Aug 2001 19:06:43 +0000 (19:06 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Mon, 6 Aug 2001 19:06:43 +0000 (19:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.common
Makefile.rules

index 0c735d24f648957998fbe27d0fb91512d44e6053..fa914fa7955ba0092b555c32a2b911d427a85bb5 100644 (file)
@@ -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
index 0c735d24f648957998fbe27d0fb91512d44e6053..fa914fa7955ba0092b555c32a2b911d427a85bb5 100644 (file)
@@ -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