checkinstall tracks installation of local software, and produces a binary manageable with your package management software.

Instead of sudo make install, you will use sudo checkinstall to install. This will automatically create a package files, which you can use to uninstall the files: sudo dpkg -r <packagename>

https://help.ubuntu.com/community/CheckInstall