X-Git-Url: http://git.joshuawise.com/snipe.git/blobdiff_plain/12aa4087bee3e70f170d7457794921de4e385227..469e60eb4974bf3fc47cfa5b9a33b14983bec135:/Makefile?ds=sidebyside diff --git a/Makefile b/Makefile index ca58a0b..5e216f0 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,25 @@ # the following are SML-NJ specific defines SML = sml -l1c: FORCE - echo 'use "compile-l1c.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/l1c.heap.* + ${RM} bin/snipe.heap.* + ${RM} bin/snipe-mlton + TAGS: clean ${RM} TAGS