jLexUndSo/Makefile

16 lines
514 B
Makefile
Raw Permalink Normal View History

2023-12-06 12:10:50 +00:00
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