Tweak Makefile

* Use well-known variable names
* Respect values set in environment

Obtained from FreeBSD ports collection
Merge pull request #8 from AMDmi3/patch-1

Tweak Makefile