Add template makefile for C shared library.