#!/bin/bash

# build SML/NJ heap image for primes; used by primes-smlnj

mkdir -p .heap
sml <<'END_OF_INPUT'
CM.make "primes.cm";
SMLofNJ.exportFn ("./.heap/primes", Main.main);
END_OF_INPUT
