diff --git a/Makefile.common b/Makefile.common index 470fd81c790..0d4cfb6ba1b 100644 --- a/Makefile.common +++ b/Makefile.common @@ -210,7 +210,7 @@ Debug/%.o: %.c Debug/.dir Depend/.dir $(CompileG) $< -o $@ # Create a .cpp source file from a burg input file -%.burm.cpp: %.burg +%.burm.cpp: Debug/%.burg $(RunBurg) $< -o $@ # Create a .cpp source file from a flex input file... this uses sed to cut down diff --git a/Makefile.rules b/Makefile.rules index 470fd81c790..0d4cfb6ba1b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -210,7 +210,7 @@ Debug/%.o: %.c Debug/.dir Depend/.dir $(CompileG) $< -o $@ # Create a .cpp source file from a burg input file -%.burm.cpp: %.burg +%.burm.cpp: Debug/%.burg $(RunBurg) $< -o $@ # Create a .cpp source file from a flex input file... this uses sed to cut down