# the following are SML-NJ specific defines
SML = sml
-l4c: FORCE
- echo 'use "compile-l4c.sml";' | ${SML}
+snipe: FORCE
+ echo 'use "compile-snipe.sml";' | ${SML}
-l4c-mlton: FORCE
- mllex parse/l4.lex
- mlyacc parse/l4.grm
- mlton -output bin/l4c-mlton sources.mlb
- ${RM} parse/l4.lex.sml
+snipe-mlton: FORCE
+ mllex parse/l5.lex
+ mlyacc parse/l5.grm
+ mlton -verbose 2 -output bin/snipe-mlton sources.mlb
+ ${RM} parse/l5.lex.sml
reallyclean: clean
${RM} parse/*.lex.* parse/*.grm.*
clean:
find . -type d -name .cm | xargs rm -rf
find . -type f | grep '~$$' | xargs ${RM}
- ${RM} bin/l4c.heap.*
- ${RM} bin/l4c-mlton
+ ${RM} bin/snipe.heap.*
+ ${RM} bin/snipe-mlton
TAGS: clean