X-Git-Url: http://git.joshuawise.com/snipe.git/blobdiff_plain/0a24e44d4e9f82f8d3d83de8e58c83c8cf2868b6..6ade8b0a3251e44b34c6bdbbd9403e36d6fd6231:/Makefile diff --git a/Makefile b/Makefile index 8829383..88508a2 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,24 @@ # the following are SML-NJ specific defines SML = sml -l2c: FORCE - echo 'use "compile-l2c.sml";' | ${SML} +l3c: FORCE + echo 'use "compile-l3c.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 + +reallyclean: clean + ${RM} parse/*.lex.* parse/*.grm.* clean: find . -type d -name .cm | xargs rm -rf - ${RM} parse/*.lex.* parse/*.grm.* find . -type f | grep '~$$' | xargs ${RM} - ${RM} bin/l2c.heap.* + ${RM} bin/l3c.heap.* + ${RM} bin/l3c-mlton + TAGS: clean ${RM} TAGS