makefile: Create static library