Am 16.02.2016 um 06:05 schrieb Kyle Auble:
On 02/15/2016 04:19 PM, Francois Gouget wrote:
On Sun, 14 Feb 2016, Kyle Auble wrote: [...]
A small patch as a starting point (has multiple issues, e.g. dependency problems, thus the 2>/dev/null)
diff --git a/tools/makedep.c b/tools/makedep.c index 9fd704b..c6b4243 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2266,7 +2266,11 @@ static struct strarray output_sources( const struct makefile *make ) output_filenames( extradefs ); output_filenames( get_expanded_make_var_array( make, "EXTRAIDLFLAGS" )); output_filename( source->filename ); - output( "\n" ); + output( "\n\t$(CC) $@" ); + output_filenames( includes ); + output_filenames( make->define_args ); + output_filenames( extradefs ); + output( " 2>/dev/null || true\n" ); output_filenames_obj_dir( make, targets ); output( ": %s", source->filename ); output_filenames( dependencies );