add new makefile and mylib