java.mk Generic Makefile for Java projects. Automated Testing Just place the test sources in test and run make test. A test fails if the JVM returns an integer greater than zero.