From: Ben Laurie Date: Sat, 20 Feb 2016 12:50:30 +0000 (+0000) Subject: Missing extension on dependency, .d file is not always made (e.g. when input X-Git-Tag: OpenSSL_1_1_0-pre4~574 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=58f2b0ae588466692e73ad434f1053e21a003294;p=oweals%2Fopenssl.git Missing extension on dependency, .d file is not always made (e.g. when input is a .s). Reviewed-by: Richard Levitte --- diff --git a/Configurations/unix-Makefile.tmpl b/Configurations/unix-Makefile.tmpl index 61ee7a6ab0..e226eb703f 100644 --- a/Configurations/unix-Makefile.tmpl +++ b/Configurations/unix-Makefile.tmpl @@ -844,7 +844,8 @@ EOF } return <<"EOF"; $obj\$(DEP_EXT): $deps - \$(CC) \$(CFLAGS) $ecflags$incs -MM -MF \$\@ -MQ $obj $srcs + \$(CC) \$(CFLAGS) $ecflags$incs -MM -MF \$\@ -MQ $obj\$(OBJ_EXT) $srcs + touch \$\@ $obj\$(OBJ_EXT): $obj\$(DEP_EXT) \$(CC) \$(CFLAGS) $ecflags$incs -c -o \$\@ $srcs EOF