#!/bin/sh
SMLBIN=/usr/local/sml/bin
+PLATFORM=x86-linux
cd src
-if [ -f mlt.x86-linux ] ; then
- rm mlt.x86-linux
+if [ -f mlt.$PLATFORM ] ; then
+ rm mlt.$PLATFORM
fi
if [ -d CM ] ; then
rm -rf CM
if [ -d lib/CM ] ; then
rm -rf lib/CM
fi
+if [ -d .cm ] ; then
+ rm -rf .cm
+fi
+if [ -d lib/.cm ] ; then
+ rm -rf lib/.cm
+fi
if ! cat build.sml | $SMLBIN/sml ; then
exit 1