mk 238 B

123456789101112
  1. #!/bin/sh
  2. echo "mk $1"
  3. NM=`basename "$1"`
  4. NM="${NM%.scm}"
  5. if [ -z "$TAROT_BOOTSTRAP" ]
  6. then
  7. time echo "(include \"$1\")" | vm/vm apps/compile-stdin.q > "build/$NM.q"
  8. else
  9. time echo "(include \"$1\")" | start-chez.sh > "build/$NM.q"
  10. fi