From b582eb19b8244fb49cc07d0fc19c1ff7eb34b4dc Mon Sep 17 00:00:00 2001 From: Michele Guerini Rocco Date: Wed, 7 Feb 2024 21:42:00 +0100 Subject: [PATCH] Makefile: fix for multiple #include directives Forgot to add a \ separator --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e49dd70..e569e18 100644 --- a/Makefile +++ b/Makefile @@ -188,7 +188,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@p' '$<' >> '$@' + @sed -nE 's@^#include "(.+)"@$(INCDIR)/\1 \\@p' '$<' >> '$@' # Load the generated rules -include $(DEPS)