modify Makefile to create so file