adding makefile for testing
makefile improvements