home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / cool.lha / ice / util / cppscripts < prev    next >
Encoding:
Text File  |  1991-09-04  |  936 b   |  27 lines

  1. #!/bin/csh
  2. #
  3. # Copyright (C) 1991 Texas Instruments Incorporated.
  4. #
  5. # Permission is granted to any individual or institution to use, copy, modify,
  6. # and distribute this software, provided that this complete copyright and
  7. # permission notice is maintained, intact, in all copies and supporting
  8. # documentation.
  9. #
  10. # Texas Instruments Incorporated provides this software "as is" without
  11. # express or implied warranty.
  12. #
  13. # Creates useful cpp shell scripts
  14.  
  15. set ice = `pwd`
  16.  
  17. echo "s%icedir%$ice%g" > $ice/cpp/scripts/sedscript
  18.  
  19. sed -f $ice/cpp/scripts/sedscript $ice/cpp/scripts/coolcpp > $ice/bin/coolcpp
  20. sed -f $ice/cpp/scripts/sedscript $ice/cpp/scripts/coolCC > $ice/bin/coolCC
  21. sed -f $ice/cpp/scripts/sedscript $ice/cpp/scripts/cppCC > $ice/bin/cppCC
  22. sed -f $ice/cpp/scripts/sedscript $ice/cpp/scripts/implement > $ice/bin/implement
  23. chmod +x $ice/bin/coolcpp
  24. chmod +x $ice/bin/coolCC
  25. chmod +x $ice/bin/cppCC
  26. chmod +x $ice/bin/implement
  27.