NichtHaskell2.0/src/test/Makefile

21 lines
600 B
Makefile
Raw Normal View History

# 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 delete" etc.
2024-06-12 16:01:21 +00:00
all: compile-javac compile-raupenpiler
compile-javac:
2024-06-12 09:17:16 +00:00
javac -d .\resources\output\javac .\resources\input\CompilerInput.java
compile-raupenpiler:
2024-06-12 16:01:21 +00:00
cd ../.. ; mvn -DskipTests package
cd ../.. ; mvn exec:java -Dexec.mainClass="Main" # -Dexec.args="arg0 arg1 arg2"
2024-06-12 16:01:21 +00:00
clean:
rm -f ./resources/output/javac/*.class
rm -f ./resources/output/raupenpiler/*.class
rm -f ./java/*.class
2024-06-12 09:17:16 +00:00
rm -f ../main/resources/output/*.class