]> Joshua Wise's Git repositories - snipe.git/blobdiff - Makefile
Initial import of l3c
[snipe.git] / Makefile
index ca58a0b4247cebd8edb6c2f5b7dde8ac8c0e1b4d..88508a2cb4ec18fed6ed7ca0edb327040557f991 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,24 @@
 # the following are SML-NJ specific defines
 SML = sml
 
 # the following are SML-NJ specific defines
 SML = sml
 
-l1c: FORCE
-       echo 'use "compile-l1c.sml";' | ${SML}
+l3c: FORCE
+       echo 'use "compile-l3c.sml";' | ${SML}
+
+l3c-mlton: FORCE
+       mllex parse/l3.lex
+       mlyacc parse/l3.grm
+       mlton -output bin/l3c-mlton sources.mlb
+       ${RM} parse/l3.lex.sml
+
+reallyclean: clean
+       ${RM} parse/*.lex.* parse/*.grm.*
 
 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/l1c.heap.*
+       ${RM} bin/l3c.heap.*
+       ${RM} bin/l3c-mlton
+
 
 TAGS: clean
        ${RM} TAGS
 
 TAGS: clean
        ${RM} TAGS
This page took 0.028192 seconds and 4 git commands to generate.