]> Joshua Wise's Git repositories - snipe.git/blob - Makefile
Initial import of l4c
[snipe.git] / Makefile
1 # the following are SML-NJ specific defines
2 SML = sml
3
4 l4c: FORCE
5         echo 'use "compile-l4c.sml";' | ${SML}
6
7 l4c-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
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/l4c.heap.*
21         ${RM} bin/l4c-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.025627 seconds and 4 git commands to generate.