aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common4
-rw-r--r--Makefile.rules4
2 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
index 0c735d24f6..fa914fa795 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 0c735d24f6..fa914fa795 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