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