13 lines
418 B
Makefile
Executable File
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
|