JAVAC=javac JAVA=java CLASSES=classes/ PACKAGE=oqube/dab/ SOURCES=src/$(PACKAGE) JAR=jmock-1.1.0.jar:dab-1.0.jar:junit-4.1.jar CLASSPATH=classes:$(JAR) .PHONY: test compile emma all: compile test compile: $(JAVAC) -d $(CLASSES) -cp $(CLASSPATH) $(SOURCES)*.java test: $(JAVA) -cp $(CLASSPATH):$(CLASSES) org.junit.runner.JUnitCore oqube.dab.TestATMImpl emma: $(JAVA) -cp emma.jar emmarun -sourcepath . -r html -cp $(CLASSPATH) org.junit.runner.JUnitCore oqube.dab.TestATMImpl clean: rm -rf $(CLASSES)/*.class rm -rf $(SOURCES)/*.java~ rm -rf Makefile~