adding stuff to make file as i go along. added clean and dist-clean targets and altered MODULE_DIR TO MODULEDIR to fit in with the gnu make variable name patterns