build.psl 469 B

1234567891011121314151617181920212223
  1. #!/bin/csh -f
  2. # build.psl --- Build PSL REDUCE.
  3. # Author: Anthony C. Hearn.
  4. setenv lisp psl
  5. # First make basic REDUCE executable.
  6. cat $reduce/util/reduce.psl \
  7. | sed "s|reducevar|$reduce|g" | sed "s/MACHINEvar/$MACHINE/g" \
  8. > $reduce/reduce.psl
  9. chmod 755 $reduce/reduce.psl
  10. if !( -e $reduce/lisp/psl/$MACHINE/red/reduce.img ) then
  11. $reduce/util/dbuild.psl
  12. endif
  13. # Now compile all new source files (and make a standard executable).
  14. $reduce/util/remake