# Copyright 1995 Regents of the University of California # Permission to use, copy, modify, and distribute this # software and its documentation for any purpose and without # fee is hereby granted, provided that this copyright # notice appears in all copies. The University of California # makes no representations about the suitability of this # software for any purpose. It is provided "as is" without # express or implied warranty. # # rcsid = "$Header: /disks/barad-dur/now/rywang/src/java/classes/makefile,v 1.1.1.1 1995/09/25 08:53:37 rywang Exp $ xFS (Berkeley)" # include makefile.src CLASSPATH=$(HOME)/sand/java/classes:$(HOME)/src/java/classes # Don't touch anything else # CLASSES=${SRC:%.java=%} OBJ=${SRC:%.java=%.class} all: classes classes: $(OBJ) clean: rm -f $(OBJ) print: echo $(SRC) echo $(OBJ) SUFFIXES = .java .class $(SUFFIXES) %.class: %.java javac $<