Zebediah Figura : makefiles: Disable implicit rules.

Alexandre Julliard julliard at winehq.org
Mon Nov 16 15:28:56 CST 2020


Module: wine
Branch: master
Commit: 52dc0ccf6debccc0dbab273d39605bb7aeeeb456
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=52dc0ccf6debccc0dbab273d39605bb7aeeeb456

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Sun Nov 15 11:12:43 2020 -0600

makefiles: Disable implicit rules.

This improves the time of a full-tree build with no out-of-date objects from
~3.7s to ~0.7s on one of my development machines.

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/tools/makedep.c b/tools/makedep.c
index 90a21ef825c..8812be4e40c 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -4076,6 +4076,9 @@ static void output_dependencies( struct makefile *make )
     }
     else output_stub_makefile( make );
 
+    /* disable implicit rules */
+    output( ".SUFFIXES:\n" );
+
     fclose( output_file );
     output_file = NULL;
     rename_temp_file( output_file_name );




More information about the wine-cvs mailing list