2024-05-31 15:09:04 +00:00
|
|
|
# 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
|
2024-05-31 15:09:04 +00:00
|
|
|
|
|
|
|
compile-javac:
|
2024-06-12 09:17:16 +00:00
|
|
|
javac -d .\resources\output\javac .\resources\input\CompilerInput.java
|
2024-05-31 15:09:04 +00:00
|
|
|
|
|
|
|
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-05-31 15:09:04 +00:00
|
|
|
|
2024-06-12 16:01:21 +00:00
|
|
|
|
|
|
|
clean:
|
2024-05-31 15:09:04 +00:00
|
|
|
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
|
2024-05-31 15:09:04 +00:00
|
|
|
|