2ae3db6938a19abcaf41c14cba4be0e72ba0d06b
[snipe.git] / Makefile
1 # the following are SML-NJ specific defines
2 SML = sml
3
4 l5c: FORCE
5         echo 'use "compile-l5c.sml";' | ${SML}
6
7 l5c-mlton: FORCE
8         mllex parse/l5.lex
9         mlyacc parse/l5.grm
10         mlton -profile time -profile-branch true -output bin/l5c-mlton sources.mlb
11         ${RM} parse/l5.lex.sml
12
13 reallyclean: clean
14         ${RM} parse/*.lex.* parse/*.grm.*
15         find . -type f -name '*~' | xargs rm -rf
16
17 clean:
18         find . -type d -name .cm | xargs rm -rf
19         find . -type f | grep '~$$' | xargs ${RM}
20         ${RM} bin/l5c.heap.*
21         ${RM} bin/l5c-mlton
22
23
24 TAGS: clean
25         ${RM} TAGS
26         bin/create-tags *.cm *.sml */*.lex */*.grm */*.sml
27
28 FORCE: 
This page took 0.012817 seconds and 2 git commands to generate.