improved makefile for judge