jLexUndSo/Makefile
2023-12-06 13:10:50 +01:00

16 lines
514 B
Makefile

JAVAC = javac
JAVA = java
JAY = jaooy
Main.class: Main.java yyTokenclass.class browserscanner.class
$(JAVAC) Main.java
yyTokenclass.class: browserparser.java
$(JAVAC) browserparser.java
browserscanner.class: browserlexer.java
$(JAVAC) browserlexer.java
browserlexer.java: browserlexer
$(JAVA) -cp JLex2.jar JLex2.Main browserlexer
browserparser.java: browserparser.jay skeleton.jaooy
$(JAY) -v browserparser.jay < skeleton.jaooy > browserparser.java
clean:
rm -f *.class browserlexer.java browserparser.java