#Since Java itself keeps track of dependencies, this Makefile is more useful #for submission, than anything else. #The name of this project. It's probably a bad idea to change this. NAME= servlets #Shouldn't need changing below this line. #Define programs used by this Makefile. JCC= javac -g:none -O -d /usr/share/java/repository RM= rm -f TAR= tar GZIP= gzip -f #VPATH= /home/burner/servlets.src #Target to compile. Just as easy to type it in by hand. all: echo try again #Target to clean up source directory. clean: $(RM) *~ %.class: %.java $(JCC) $< %.java: $(JCC) $< % : %.java $(JCC) $<