Update makefile to include debug mode
Improve makefile
First integration of preprocessing functions