case `uname -s` in
    OpenBSD|FreeBSD|NetBSD)
        MAKE=gmake
        ;;

    *)
        MAKE=make
        ;;
esac

${MAKE} all > /dev/null
$1 --no-color --no-banner Struct.idr < input
rm -rf build
${MAKE} clean > /dev/null