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