Install_step_4 437 B

1234567891011121314151617
  1. #!/bin/sh
  2. #
  3. # Install the ExePack support from the TIGCC Tools Suite
  4. #
  5. echo TIGCC script: Compiling and installing ExePack support...
  6. cd ../sources/ttpack/
  7. # check if CC is set, otherwise default to gcc
  8. if [ -z "$CC" ]
  9. then CC=gcc
  10. fi
  11. # check if CFLAGS is set, otherwise default to '-Os -s'
  12. if [ -z "$CFLAGS" ]
  13. then CFLAGS='-Os -s'
  14. fi
  15. $CC $CFLAGS -o $TIGCC/bin/ttpack ttpack.c
  16. $CC $CFLAGS -o $TIGCC/bin/ttbin2oth ttbin2oth.c
  17. echo Done.