title: set LD_LIBRARY_PATH from Makefile
body: <p>How do I set the LD_LIBRARY_PATH env variable from a Makefile?</p>
  
  <p>I have some source code that links to a shared library that in turn links to a different shared library (more than 1). The Makefile for building the application only knows about the first shared library. </p>
  
  <p>If I want to build this, I have to specify:
   <code>#export LD_LIBRARY_PATH=/path/to/the/shared/libs</code> (for bash)
  and that works fine. </p>
  
  <p>However, I would like to do this from the Makefile itself. </p>