]> Joshua Wise's Git repositories - snipe.git/blobdiff - Makefile
Initial import of l4c
[snipe.git] / Makefile
index 8829383e8760975fc37c6ed9e5d112442d030309..2cb435220eec662f6c700d874462a3dda53b69bc 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}
+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
This page took 0.027207 seconds and 4 git commands to generate.