Alexandre Julliard : makedep: Output empty rule for source makefiles.

Alexandre Julliard julliard at winehq.org
Fri Oct 20 15:09:36 CDT 2017


Module: wine
Branch: master
Commit: 83fbb78d5f186fd2a38134689296142ae91a0609
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=83fbb78d5f186fd2a38134689296142ae91a0609

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct 20 10:03:17 2017 +0200

makedep: Output empty rule for source makefiles.

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

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/makedep.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/makedep.c b/tools/makedep.c
index 296356b..ec339e0 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 );




More information about the wine-cvs mailing list