added makefiles for the library.