add Makefile
add modihication for compilation