--- Makefile.orig	Mon Feb 21 23:43:51 2000
+++ Makefile	Sun Aug 27 13:38:46 2000
@@ -3,14 +3,16 @@
 # $Id: patch-aa,v 1.1.1.1 2001/06/04 23:39:32 proclus Exp $
 #
 
-JAVAC = /usr/local/jdk118/bin/javac
+JAVA_HOME ?=	/usr/local/jdk1.1.8
+JAVAC ?=	$(JAVA_HOME)/bin/javac
+JAR ?=		$(JAVA_HOME)/bin/jar
 JAVAC_FLAGS =-O -g 
 
 all:
 	$(JAVAC) $(JAVAC_FLAGS) org/gjt/mm/mysql/*.java
 
 jar: all
-	jar -cv0f mysql_uncomp.jar org/gjt/mm/mysql/*.class; jar -cvf mysql_comp.jar org/gjt/mm/mysql/*.class
+	$(JAR) -cv0f mysql_uncomp.jar org/gjt/mm/mysql/*.class; jar -cvf mysql_comp.jar org/gjt/mm/mysql/*.class
 
 clean:
 	rm -f org/gjt/mm/mysql/*.class org/gjt/mm/mysql/*~
