title: Why do I do Cmake .. and make?
body: <p>I'm trying to install some programme on an Amazon Linux 2 distribution and for some reason, I've to compile a bunch of tools from source.</p>
  
  <p>It was my understanding I should do:</p>
  
  <pre><code>cd my_source_code
  ./configure
  make
  make install
  </code></pre>
  
  <p>The intent would be:</p>
  
  <ul>
  <li>./configure will check if I have all tools needed</li>
  <li>make: will compile the source files into binaries that I can then use</li>
  <li>make install: will place that said binaries in an accessible place</li>
  </ul>
  
  <p>All of that tools ask me to do different stuff, for example:</p>
  
  <pre><code>./bootstrap
  make
  make install
  </code></pre>
  
  <p>or </p>
  
  <pre><code>./bootstrap.sh
  ./b2
  ./b2 install
  </code></pre>
  
  <p>or </p>
  
  <pre><code>cmake .
  make
  make install
  </code></pre>
  
  <p>I guess the <code>./boostrap</code> is just the <code>./configure</code> script with a different name. Is that right?</p>
  
  <p>For the cmake, why do I have to do both cmake and make? Aren't they the same?</p>
  
  <p>I a bit lost with all that possibilities.</p>