Setup makefile to compile a static object file for inclusion in other programs.