CP=/java/jdk/jre/lib/rt.jar:/webapp/WEB-INF/classes:/tomcat/lib/servlet.jar MLS=/tools/mls/mls -d ../mls.java SRC=$(shell find * -name CVS -prune -o -name \*.mls -print) all: $(SRC) jikes -classpath $(CP) -d /webapp/WEB-INF/classes `$(MLS) $(SRC)`
Example 4: Sample Makefile.