title: How to prevent the make utility from doing the same targets simultaneously?
body: <p>Let's say I have a couple of dirs, each of that contains a <code>makefile</code>. Now let's say there is a <code>lib</code> dir (with the <code>makefile</code> too) among of this dirs and there are a references to it in some of the <code>makefile</code>s in other dirs. I.e., there are some amount of the projects which depend on another one. Now, if I run the <code>make</code> utility with the <code>-j</code> option, it may to try to make the <code>lib</code> in two or more parallel threads.</p>
  
  <p>Question is pretty simple: how to prevent this behaviour?</p>