Debian Codegraph @

examples/glr/expr-monad/Makefile

raw
1 TOP=..
2 include ${TOP}/Makefile.defs
3
4 DECODE = --decode
5
6
7 expr : Expr.hs Main.lhs
8 ${GHC} -cpp -fglasgow-exts -o expr --make Main.lhs
9
10 run : expr
11 ./expr "1+2*4-3"
12
13 eof : expr
14 echo testing premature eof
15 ./expr "1+2*"
16
17 err : expr
18 echo testing syntax error
19 ./expr "1+2*2++3"
20
21 test : run eof err
22
23 clean :
24 rm -rf expr Expr.info Expr.hs ExprData.hs *.o *.hi out.daVinci