add Makefile for Hadoop version