]> Joshua Wise's Git repositories - snipe.git/blame - Makefile
Initial import of l4c
[snipe.git] / Makefile
CommitLineData
12aa4087
JW
1# the following are SML-NJ specific defines
2SML = sml
3
1144856b
JW
4l4c: FORCE
5 echo 'use "compile-l4c.sml";' | ${SML}
6ade8b0a 6
1144856b
JW
7l4c-mlton: FORCE
8 mllex parse/l4.lex
9 mlyacc parse/l4.grm
10 mlton -output bin/l4c-mlton sources.mlb
11 ${RM} parse/l4.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}
1144856b
JW
20 ${RM} bin/l4c.heap.*
21 ${RM} bin/l4c-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.028485 seconds and 4 git commands to generate.