]> Joshua Wise's Git repositories - snipe.git/blob - Makefile
Code generation.
[snipe.git] / Makefile
1 # the following are SML-NJ specific defines
2 SML = sml
3
4 snipe: FORCE
5         echo 'use "compile-snipe.sml";' | ${SML}
6
7 snipe-mlton: FORCE
8         mllex parse/l5.lex
9         mlyacc parse/l5.grm
10         mlton -verbose 2 -output bin/snipe-mlton sources.mlb
11         ${RM} parse/l5.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/snipe.heap.*
21         ${RM} bin/snipe-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.027061 seconds and 4 git commands to generate.