Commit 7e8ac46a authored by Alexandre Julliard's avatar Alexandre Julliard

makedep: Avoid generating empty dependencies.

parent bddfcd07
......@@ -75,8 +75,8 @@ struct incl_file
int included_line; /* line where this file was included */
enum incl_type type; /* type of include */
unsigned int arch; /* architecture for multi-arch files, otherwise 0 */
int use_msvcrt:1; /* put msvcrt headers in the search path? */
int is_external:1; /* file from external library? */
unsigned int use_msvcrt:1; /* put msvcrt headers in the search path? */
unsigned int is_external:1; /* file from external library? */
struct incl_file *owner;
unsigned int files_count; /* files in use */
unsigned int files_size; /* total allocated size */
......@@ -3241,10 +3241,13 @@ static void output_source_default( struct makefile *make, struct incl_file *sour
strarray_add( &make->test_files, obj );
}
if (targets.count && source->dependencies.count)
{
output_filenames_obj_dir( make, targets );
output( ":" );
output_filenames( source->dependencies );
output( "\n" );
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment