Rewrote the Makefile for mkjambase.