compile_no_exe.sh 316 B

123456789101112
  1. #!/bin/bash
  2. # This script is run by FreeOberon on Linux.
  3. # Current directory of the script will be where
  4. # FreeOberon executable is located.
  5. # This particular script is for compilation with no executable.
  6. cd bin
  7. VOCDIR=../data/bin/voc
  8. VOC=$VOCDIR/bin/voc
  9. $VOC -OC -cfFm ../Programs/$1
  10. retcode=$?
  11. cd ..
  12. exit $retcode