Removed all GNU make addons, for better cross platform compatibility.

Also reorganized makefile layout.