The Visual Studio makefile does not support building shared libraries. https://github.com/libtom/libtommath/blob/44ee82cd34d0524c171ffd0da70f83bba919aa38/makefile.msvc#L20 Would a patch adding this be accepted?