title: Template-Makefile for building dynamic libraries developed in C++ (Linux)
body: <p>I am looking for a good Makefile template for creating a dynamic loadable library on Linux.
  The dynamic library is developed in C++. I only want to specify the library name and its source files (.cc) in the Makefile. Furthermore, I want to be able to specify a directory (e.g. ./build) for the build process. After building, the dynamic library should be in another directory (e.g. ./libs) also specified as variable in the Makefile.</p>
  
  <p>Any hints?</p>
  
  <p>Thanks in advance &amp; best regards!
  Jonas</p>