lib/mlrisc-lib/MLRISC/makeall-110.25.sml
raw| 1 | (* |
| 2 | * Recompile everything in this directory |
| 3 | *) |
| 4 | CM.autoload "full-cm.cm"; |
| 5 | val current = ref ""; |
| 6 | fun make f = (print("[Compiling "^f^"]\n"); current := f; CM.recomp("cm/"^f)); |
| 7 | fun again _ = make(!current); |
| 8 | val _ = app CM.Anchor.cancel files; |
| 9 | |
| 10 | fun makeall [] = true |
| 11 | | makeall(f::fs) = make f andalso makeall fs |
| 12 | ; |
| 13 | |
| 14 | val _ = makeall files; |