JAVAC = /usr/site/jdk-1.1.5/bin/java -classpath /usr/site/jdk-1.1.5/lib/classes.zip sun.tools.javac.Main JAVADOC = javadoc BUILD_DIR = /home/ashvin/linpacktest/newJavaLinpack/buildold/ CLASSPATH = $(BUILD_DIR):.:/usr/site/jdk-1.1.5/lib/classes.zip SOURCE_DIR = ./ include mkfilehelper/sourcesfile DOCPATH = docs/ SOURCEFILES = $(SOURCES:%=$(SOURCE_DIR)%) CLASSES = $(SOURCES:%.java=%.class) CLASSFILES = $(CLASSES:%=$(BUILD_DIR)%) all: $(CLASSFILES) $(BUILD_DIR)%.class: $(SOURCE_DIR)%.java -$(JAVAC) -d $(BUILD_DIR) -classpath $(CLASSPATH) $< oldnmat : $(CLASSFILES) $(BUILD_DIR)%.class: $(OLDS_DIR)%.java -$(JAVAC) -d $(BUILD_DIR) -classpath $(OLDPATH) $< oldlinpack : $(CLASSFILES) $(BUILD_DIR)%.class: $(SOURCE_DIR)%.java -$(JAVAC) -d $(BUILD_DIR) -classpath $(CLASSPATH) $< jdocs: $(JAVADOC) -classpath $(CLASSPATH) -d $(DOCPATH) `cat package-list` clean: rm $(CLASSFILES)