[shadow channel]: saving copy of makefile before quick hack

The makefile is a complete disaster. Let's create a variable for different machines, and take advantage of several rules to greatly streamline things.