Added more error debugging to makefile
Improved