update Makefile to best practices