]>
Commit | Line | Data |
---|---|---|
1 | # the following are SML-NJ specific defines | |
2 | SML = sml | |
3 | ||
4 | l3c: FORCE | |
5 | echo 'use "compile-l3c.sml";' | ${SML} | |
6 | ||
7 | l3c-mlton: FORCE | |
8 | mllex parse/l3.lex | |
9 | mlyacc parse/l3.grm | |
10 | mlton -output bin/l3c-mlton sources.mlb | |
11 | ${RM} parse/l3.lex.sml | |
12 | ||
13 | reallyclean: clean | |
14 | ${RM} parse/*.lex.* parse/*.grm.* | |
15 | ||
16 | clean: | |
17 | find . -type d -name .cm | xargs rm -rf | |
18 | find . -type f | grep '~$$' | xargs ${RM} | |
19 | ${RM} bin/l3c.heap.* | |
20 | ${RM} bin/l3c-mlton | |
21 | ||
22 | ||
23 | TAGS: clean | |
24 | ${RM} TAGS | |
25 | bin/create-tags *.cm *.sml */*.lex */*.grm */*.sml | |
26 | ||
27 | FORCE: |