Makefile: fix for multiple #include directives
Forgot to add a \ separator
This commit is contained in:
parent
79d67c8128
commit
b582eb19b8
2
Makefile
2
Makefile
@ -188,7 +188,7 @@ $(OBJDIR)/%.d: $(SRCDIR)/%.f90 | $(OBJDIR)
|
|||||||
sed -nE 's@^[[:blank:]]*use[[:blank:]]+'\
|
sed -nE 's@^[[:blank:]]*use[[:blank:]]+'\
|
||||||
'([^,[:blank:]&]+).*@$(OBJDIR)/\1.o \\@p' | \
|
'([^,[:blank:]&]+).*@$(OBJDIR)/\1.o \\@p' | \
|
||||||
sort -u >> '$@'
|
sort -u >> '$@'
|
||||||
@sed -nE 's@^#include "(.+)"@$(INCDIR)/\1@p' '$<' >> '$@'
|
@sed -nE 's@^#include "(.+)"@$(INCDIR)/\1 \\@p' '$<' >> '$@'
|
||||||
|
|
||||||
# Load the generated rules
|
# Load the generated rules
|
||||||
-include $(DEPS)
|
-include $(DEPS)
|
||||||
|
Loading…
Reference in New Issue
Block a user