source: other-projects/rsyntax-textarea/devel-packages/jflex-1.4.3/examples/byaccj/Makefile@ 25584

Last change on this file since 25584 was 25584, checked in by davidb, 12 years ago

Initial cut an a text edit area for GLI that supports color syntax highlighting

File size: 420 bytes
Line 
1# only works with the Java extension of yacc:
2# byacc/j from http://troi.lincom-asg.com/~rjamison/byacc/
3
4JFLEX = jflex
5BYACCJ = yacc -J
6JAVAC = javac
7
8# targets:
9
10all: Parser.class
11
12run: Parser.class
13 java Parser
14
15build: clean Parser.class
16
17clean:
18 rm -f *~ *.class *.java
19
20Parser.class: Yylex.java Parser.java
21 $(JAVAC) Parser.java
22
23Yylex.java: calc.flex
24 $(JFLEX) calc.flex
25
26Parser.java: calc.y
27 $(BYACCJ) calc.y
Note: See TracBrowser for help on using the repository browser.