From 6181b6096e491a71379860826b0b63b5a6c10475 Mon Sep 17 00:00:00 2001 From: Lorenzo Figini Date: Fri, 28 Oct 2022 13:32:56 +0200 Subject: [PATCH] Fix Makefile to remove literal '\n' printed in .d files in some systems. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ad7e284..4bcd163 100644 --- a/Makefile +++ b/Makefile @@ -159,7 +159,7 @@ $(OBJDIR)/%.d: $(SRCDIR)/%.f90 | $(OBJDIR) sed -nE 's@^[[:blank:]]*use[[:blank:]]+'\ '([^,[:blank:]&]+).*@$(OBJDIR)/\1.o \\@p' | \ sort -u >> '$@' - @sed -nE 's@^#include "(.+)"@$(INCDIR)/\1 \\\n@p' '$<' >> '$@' + @sed -nE 's@^#include "(.+)"@$(INCDIR)/\1@p' '$<' >> '$@' # Load the generated rules include $(DEPS)