title: Linking libs with make/g++ under ubuntu
body: <p>lets say my makefile looks like this:</p>
  
  <pre><code>CXX = g++
  
  OGLLIBS = -lglut32 -lglu32 -lopengl32
  
  projname : projname.o
      ${CXX} -o projname $&lt; ${OGLLIBS}
  </code></pre>
  
  <p>Then in which directory does g++ look for the libraries? I was assuming . but if I put the libs there it still complains about not finding them (<code>*.lib</code> is the correct file or does unix use another ending?!)</p>