X-Git-Url: http://git.joshuawise.com/snipe.git/blobdiff_plain/6ade8b0a3251e44b34c6bdbbd9403e36d6fd6231..5c79bb689ab446551bc7ec4497e6c9b75582837e:/Makefile diff --git a/Makefile b/Makefile index 88508a2..2ae3db6 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,24 @@ # the following are SML-NJ specific defines SML = sml -l3c: FORCE - echo 'use "compile-l3c.sml";' | ${SML} +l5c: FORCE + echo 'use "compile-l5c.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 +l5c-mlton: FORCE + mllex parse/l5.lex + mlyacc parse/l5.grm + mlton -profile time -profile-branch true -output bin/l5c-mlton sources.mlb + ${RM} parse/l5.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/l5c.heap.* + ${RM} bin/l5c-mlton TAGS: clean