Refactored makefile per the examples in the documentation for make