makedep: Output empty rule for source makefiles.

This should avoid breaking the build when a makefile is removed.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2017-10-20 10:03:17 +02:00
parent f577fc8fa2
commit 83fbb78d5f
1 changed files with 2 additions and 0 deletions

View File

@ -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 );