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