Makefile refactor.

Removed hard coded file names.