# Makefile ### IntelliJs play buttons do not work. Run in "src/test" folder with "make" command to run all ### Or run only parts with "make compile-javac", "make clean" etc. all: compile-javac compile-raupenpiler compile-javac: javac -d .\resources\output\javac .\resources\input\CompilerInput.java compile-raupenpiler: cd ../.. ; mvn -DskipTests install cd ../.. ; mvn exec:java -Dexec.mainClass="main.Main" -Dexec.args="'src/main/resources/input/CompilerInput.java' 'src/main/resources/output' " cp ../main/resources/output/CompilerInput.class .java/resources/output/raupenpiler test: compile-javac compile-raupenpiler test-javac test-raupenpiler test-javac: test-raupenpiler: mv ../main/resources/output/CompilerInput.class .java/main/ cd .java/main/ clean: rm -f ./resources/output/javac/*.class rm -f ./resources/output/raupenpiler/*.class rm -f ./java/*.class rm -f ../main/resources/output/*.class rm -f ../main/resources/logs/*.log