Install_step_3 501 B

12345678910111213141516
  1. #! /bin/sh
  2. #
  3. # This script installs the TIGCCLIB.
  4. # For this, 2 directories have to be created. One (include) contains header
  5. # files, the other (lib) contains libraries.
  6. #
  7. echo TIGCC script: Installing TIGCCLIB...
  8. rm -Rf $TIGCC/include
  9. cp -Rf ../tigcclib/include $TIGCC
  10. ln -sf $TIGCC/include/asm/os.h $TIGCC/include/asm/OS.h
  11. rm -Rf $TIGCC/lib
  12. cp -Rf ../tigcclib/lib $TIGCC
  13. rm -Rf $TIGCC/examples
  14. cp -Rf ../tigcclib/examples $TIGCC
  15. #cd ../tigcclib/src; make; make clean; cp tigcc.a $TIGCC/include/c