From 852c9c69de224669e5838bbc24642af633c9c620 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sun, 24 Jan 2021 21:58:53 +0100 Subject: [PATCH] makefiles: Add missing dependency to wrc for test dll resources. Signed-off-by: Alexandre Julliard --- tools/makedep.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/makedep.c b/tools/makedep.c index 306a50eef5d..913854c7f05 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -3083,7 +3083,10 @@ static void output_source_spec( struct makefile *make, struct incl_file *source, strarray_add( &make->clean_files, dll_name ); strarray_add( &make->res_files, strmake( "%s.res", obj )); - output( "%s.res: %s\n", obj_dir_path( make, obj ), obj_dir_path( make, dll_name )); + output( "%s.res:", obj_dir_path( make, obj )); + output_filename( obj_dir_path( make, dll_name )); + output_filename( tools_path( make, "wrc" )); + output( "\n" ); output( "\t%secho \"%s.dll TESTDLL \\\"%s\\\"\" | %s -u -o $@\n", cmd_prefix( "WRC" ), obj, output_file, tools_path( make, "wrc" ));