Use PREFIX in Makefiles. Add uninstall to .PHONY.