X-Git-Url: http://git.joshuawise.com/snipe.git/blobdiff_plain/0a24e44d4e9f82f8d3d83de8e58c83c8cf2868b6..459e54ac227128d4980ee40293b4b9fdd7b8ef26:/Makefile?ds=inline diff --git a/Makefile b/Makefile index 8829383..5e216f0 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} +snipe: FORCE + echo 'use "compile-snipe.sml";' | ${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.* + 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/snipe.heap.* + ${RM} bin/snipe-mlton + TAGS: clean ${RM} TAGS