view lab2/compile @ 1:b683d796e07e tip basis

Added generated Keiko files
author Mike Spivey <>
date Mon, 10 Sep 2018 20:34:00 +0100
parents 5dd13b8deb54
line wrap: on
line source

# This hacked up version works, at least on Linux, even for people who
# have spaces in the names of directories.  Sheesh.

KEIKO=`cd ../keiko; pwd`

set -x

./ppc $* >a.k \
    && "$KEIKO/pplink" -nostdlib -i "/usr/bin/env $KEIKO/ppx" \
        "$KEIKO/lib.k" a.k -o a.out >/dev/null \
    && chmod +x a.out