SOURCES=Program01.java all: javac $(SOURCES) runl: xterm -e "java -cp .:/usr/share/java/mysql.jar Program01 & read" runw: cmd /c "java -cp .:c:\javalibs\mysql-connector-java-verzioszam.jar Program01 && pause"