Taschenrechner/makefile
2023-12-06 14:57:35 +01:00

13 lines
418 B
Makefile
Executable File

Main.class: Main.java yyTokenclass.class calcscanner.class
javac Main.java
yyTokenclass.class: calcparser.java
javac calcparser.java
calcscanner.class: calclexer.java
javac calclexer.java
calclexer.java: calclexer
java -cp JLex2.jar JLex2.Main calclexer
calcparser.java: calcparser.jay skeleton.jaooy
jaooy -v calcparser.jay < skeleton.jaooy > calcparser.java
clean:
rm -f *.class calclexer.java calcparser.java