In my makefile, I have a line
# in makefile:
SHELL := csh
.PHONY : foo
foo :
$(MAKE) -C foo
When calling make -j8
(running linux using GNU Make 3.81), I get
make -C foo
make[1]: Entering directory `/some/dir/foo'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
make[1]: Nothing to be done for `default'.
make[1]: Leaving directory `/some/dir/foo'
What is the correct rule in my parent makefile to avoid this warning?
(Note I looked at this and this SO questions, but cannot find a satisfactory answer. In particular +$(MAKE) -C foo
doesn't work. Perhaps I should also say that in the parent make the parallel making works as intended.)
Or is my operating system not supporting parallel sub-makes? (this documentation says most unix system do). How can I find out for sure?