makefile for a shared library