intial Makefile written; needs to be tested.
rearanged variables at the top to match other Makefiles and removed redundant definitions that were added to the toplevel Makefile