]> Joshua Wise's Git repositories - snipe.git/blobdiff - Makefile
Initial import of l5c
[snipe.git] / Makefile
index 8829383e8760975fc37c6ed9e5d112442d030309..2ae3db6938a19abcaf41c14cba4be0e72ba0d06b 100644 (file)
--- 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}
+l5c: FORCE
+       echo 'use "compile-l5c.sml";' | ${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
-       ${RM} parse/*.lex.* parse/*.grm.*
        find . -type f | grep '~$$' | xargs ${RM}
-       ${RM} bin/l2c.heap.*
+       ${RM} bin/l5c.heap.*
+       ${RM} bin/l5c-mlton
+
 
 TAGS: clean
        ${RM} TAGS
This page took 0.025866 seconds and 4 git commands to generate.