Rewrite Makefile in Gentoo-friendly fashion.  Remove an unused variable.