]> Joshua Wise's Git repositories - snipe.git/blame - Makefile
Initial import of l5c
[snipe.git] / Makefile
CommitLineData
12aa4087
JW
1# the following are SML-NJ specific defines
2SML = sml
3
5c79bb68
JW
4l5c: FORCE
5 echo 'use "compile-l5c.sml";' | ${SML}
6ade8b0a 6
5c79bb68
JW
7l5c-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
6ade8b0a
JW
12
13reallyclean: clean
14 ${RM} parse/*.lex.* parse/*.grm.*
1144856b 15 find . -type f -name '*~' | xargs rm -rf
12aa4087
JW
16
17clean:
18 find . -type d -name .cm | xargs rm -rf
12aa4087 19 find . -type f | grep '~$$' | xargs ${RM}
5c79bb68
JW
20 ${RM} bin/l5c.heap.*
21 ${RM} bin/l5c-mlton
6ade8b0a 22
12aa4087
JW
23
24TAGS: clean
25 ${RM} TAGS
26 bin/create-tags *.cm *.sml */*.lex */*.grm */*.sml
27
28FORCE:
This page took 0.030111 seconds and 4 git commands to generate.