blob: 6d64d84b104c608c0a7fa190052b04548374ddc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- Makefile.orig Sun May 27 12:10:22 2001
+++ Makefile Sun May 27 12:16:18 2001
@@ -3,14 +3,16 @@
# $Id: Makefile,v 1.2 1998/08/25 04:02:25 mmatthew Exp $
#
-JAVAC = /usr/local/jdk118/bin/javac
+JAVA_HOME = /usr/local/jdk1.1.8
+JAVAC = JAVA_HOME=$(JAVA_HOME) CLASSPATH= $(JAVA_HOME)/bin/javac
+JAR = JAVA_HOME=$(JAVA_HOME) CLASSPATH= $(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/*~
|