SOURCE=view/MainFrame.java \ model/Model.java \ controller/Controller.java \ Haromszog.java all: javac -cp . $(SOURCE) run: xterm -e "java -cp . Haromszog; read" LINJUNIT=/usr/share/java/junit4.jar testl: javac -cp .:$(LINJUNIT) test/ModelTest.java java -cp .:$(LINJUNIT) org.junit.runner.JUnitCore test.ModelTest WINJUNIT=c:\bin\SWScite\javalibs\junit-4.11.jar WINHAMCREST=c:\bin\SWScite\javalibs\hamcrest-core-1.3.jar testw: javac -cp .;$(WINJUNIT);$(WINHAMCREST) test/ModelTest.java java -cp .;$(WINJUNIT);$(HAMCREST) org.junit.runner.JUnitCore test.ModelTest