title: Store GNU make generated files elsewhere
body: <p>How can I store GNU make &amp; configure files elsewhere? I have a project I am working on that I get compiled using:</p>
  
  <pre><code>./configure --prefix=/usr &amp;&amp; make &amp;&amp; su -c 'make install'
  </code></pre>
  
  <p>The thing is I don't want to pollute the current folder, which is a svn/git/hg/whatever sandbox with files generated by that command. I want to put those files in a separate location. I don't know if it's similar, but when I compile the linux kernel from source, I can specify where to put the ouput by passing the 'O' option to 'make', something like this:</p>
  
  <pre><code>make O=/home/user/linux-output
  </code></pre>