From 83fbb78d5f186fd2a38134689296142ae91a0609 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 20 Oct 2017 10:03:17 +0200 Subject: [PATCH] makedep: Output empty rule for source makefiles. This should avoid breaking the build when a makefile is removed. Signed-off-by: Alexandre Julliard --- tools/makedep.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/makedep.c b/tools/makedep.c index 296356b0a57..ec339e08114 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -3151,6 +3151,8 @@ static struct strarray output_sources( const struct makefile *make ) output( "Makefile:" ); output_filenames( makefile_deps ); output( "\n" ); + output_filenames( makefile_deps ); + output( ":\n" ); output( "distclean::\n"); output( "\trm -f" ); output_filenames( distclean_files );