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