From 58f2b0ae588466692e73ad434f1053e21a003294 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Sat, 20 Feb 2016 12:50:30 +0000 Subject: [PATCH] Missing extension on dependency, .d file is not always made (e.g. when input is a .s). Reviewed-by: Richard Levitte --- Configurations/unix-Makefile.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1