c-code38.sh 374 B

12345678910111213141516
  1. #! /bin/sh
  2. # c-code38. generate C code... optionally limit number of fns to compile.
  3. # This script may be passed a directory as arg1, but if not it expects
  4. # to find my source files in "../cslbase"
  5. if test -n "$1"
  6. then srcdir="$1"
  7. else srcdir=../cslbase
  8. fi
  9. ./slowr38 -w -Dno_init_file $srcdir/../util/c-code38.red -D@srcdir=$srcdir -Dhow_many=$1 -- log/c-code38.log