Makefile: fix for multiple #include directives

Forgot to add a \ separator
This commit is contained in:
Michele Guerini Rocco 2024-02-07 21:42:00 +01:00
parent 79d67c8128
commit b582eb19b8
Signed by: rnhmjoj
GPG Key ID: BFBAF4C975F76450

View File

@ -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)