]> Joshua Wise's Git repositories - snipe.git/blobdiff - Makefile
First pass spill code.
[snipe.git] / Makefile
index 8829383e8760975fc37c6ed9e5d112442d030309..5e216f0f6b4b46b9dc3d04ffb62b3d26c32d67ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,25 @@
 # the following are SML-NJ specific defines
 SML = sml
 
 # 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
 
 clean:
        find . -type d -name .cm | xargs rm -rf
-       ${RM} parse/*.lex.* parse/*.grm.*
        find . -type f | grep '~$$' | xargs ${RM}
        find . -type f | grep '~$$' | xargs ${RM}
-       ${RM} bin/l2c.heap.*
+       ${RM} bin/snipe.heap.*
+       ${RM} bin/snipe-mlton
+
 
 TAGS: clean
        ${RM} TAGS
 
 TAGS: clean
        ${RM} TAGS
This page took 0.020513 seconds and 4 git commands to generate.