add makefile for log4j