Create static library in makefile.