title: gperftools: modify makefile to install in a different folder?
body: <p>I was installing  gperftools:</p>
  
  <p><a href="https://code.google.com/p/gperftools/" rel="nofollow">https://code.google.com/p/gperftools/</a></p>
  
  <p>Everything worked, and I see that the project links to /usr/local/lib</p>
  
  <p>I'd like to put the library in a folder local to my project, instead.</p>
  
  <p>The reasoning behind this is that I'm putting the project on different machines, and I just need to link against the libprofiler and libtcmalloc libraries, instead of the entire package, that also comes with the pprof and such.</p>
  
  <p>The machines also have different architectures, so I actually need to build into that directory, instead of copy-pasting over</p>
  
  <p>Is this a trivial thing to do?</p>