From 95d8c5dcb9b85b57cd9516c52690db5679d6fc78 Mon Sep 17 00:00:00 2001 From: jestin Date: Tue, 7 Jan 2003 17:13:13 +0000 Subject: Chasse aux bugs --- src/Makefile | 48 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 38 insertions(+), 10 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index caaeb90..b53ba51 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,26 +1,54 @@ -# Be sure to set this before compiling ... - RTPATH = /usr/lib/j2re1.3/lib/rt.jar -RTPATH = /usr/local/j2sdk1.4.1/jre/lib/rt.jar -JIKESPATH = ${RTPATH}:/usr/share/java/gnu.getopt.jar:/usr/share/java/repository +####################################### +# jikes setup on my box +####################################### +# RTPATH = /usr/local/j2sdk1.4.1/jre/lib/rt.jar +#JAVACOPTS = -d . -deprecation +# JAVAC = jikes +#CLASSPATH = -classpath .:$(RTPATH) + +####################################### +# generic setup +####################################### + JAVAC = javac JAVACOPTS = -d . -deprecation +CLASSPATH = -classpath . + +####################################### +# blackdown jdk118 setup +####################################### +# JAVAC = /usr/local/jdk118_v3/bin/javac +#CLASSPATH = -classpath .:/usr/local/jdk118_v3/lib/classes.zip:/home/jestin/java/Jars/swingall.jar +#JAVACOPTS = -d . + +###################################### +# local Blackdown linux 1.2.2 +###################################### +#CLASSPATH = -classpath . +#JAVACOPTS = -deprecation -d . +# JAVAC = /usr/local/jdk1.2.2/bin/javac + +###################################### +# local Blackdown linux 1.3.1 +###################################### +#CLASSPATH = -classpath . +#JAVACOPTS = -deprecation -d . +# JAVAC = /usr/local/j2sdk1.3.1/bin/javac + .SUFFIXES: .java .class SRCS = *.java OBJS = $(SRCS:.java=.class) - #JAVAC = gcj-3.2 -classpath $(JIKESPATH) - JAVAC = jikes -classpath $(JIKESPATH) - #JAVAC = javac DOCS = ../doc/html/api .java.class: - $(JAVAC) $< + $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $< ivy-java: - $(JAVAC) $(JAVACOPTS) $(SRCS) + $(JAVAC) $(JAVACOPTS) $(CLASSPATH) $(SRCS) all: $(OBJS) clean: - /bin/rm -f -- $(OBJS) *~ *.bak $(JAR) + /bin/rm -f -- $(OBJS) *~ *.bak $(JAR) fr/dgac/ivy/*.class docs: rm -fR $(DOCS)/*html -- cgit v1.1