Adding makefile for Java projects.