SOURCES=ItemTest.java ImportedTest.java SalesTaxTest.java SalesTest.java TaxedTest.java TaxTest.java TESTS=ItemTest ImportedTest SalesTaxTest SalesTest TaxedTest tests.TaxTest #--------- JAVA=java JAVAC=javac CLASSPATH=.:/usr/local/eclipse32/eclipse/plugins/org.junit4_4.1.0.1/junit-4.1.jar:salestaxes-1.0.jar #/usr/local/junit3.8.1/junit.jar: CLASSES=$(SOURCES:.java=.class) .PHONY=all clean test build all: build build: $(CLASSES) %.class: %.java $(JAVAC) -cp $(CLASSPATH) $< test: build $(JAVA) -cp $(CLASSPATH) junit.textui.TestRunner $(TESTS) clean: rm *.class