home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 351.lha / ontrap / read.me < prev    next >
Text File  |  1990-02-28  |  2KB  |  65 lines

  1. ; This batch file will update your system libraies  to include the
  2. ; ontrap() and the trapcode() functions.
  3. ;
  4. ; This batch file makes several assuptions:
  5. ; 1. You are executing this file with the source supplied in this
  6. ;    archive in the current directory.
  7. ; 2. The standard Lattice 5.04 environment is present. This should include:
  8. ;      INCLUDE:, LIB:, and LC: are assigned and
  9. ;      LIB: contains C.O, CRES.O, LC.LIB, LCS.LIB, LCNB.LIB and LCSNB.LIB.
  10. ;      Echo, delete, and copy are available somewhere in your PATH.
  11. ; 3. Your disks have enough room for the added file sizes.
  12. ;    PLEASE PLEASE PLEASE backup your disks first!!!
  13. ;
  14. ; Once these conditions have been verified and you have read ontrap.doc, type
  15. ; EXECUTE read.me
  16. echo "Installing ontrap & trapcode to your Lattice C 5.04 developement system"
  17. echo "Assembling c.a"
  18. lattice_c_5.0.5:asm -u -iLattice_C_5.0.5:Assembler_Headers/ -olib:c.o c.a
  19. echo "Assembling cres.a"
  20. lattice_c_5.0.5:asm -u -dRESIDENT -iLattice_C_5.0.5:Assembler_Headers/ -olib:cres.o c.a
  21. ;
  22. echo "Assembling trapcode.a"
  23. lattice_c_5.0.5:asm -u trapcode.a
  24. ;
  25. echo "Assembling ontrap.a"
  26. lattice_c_5.0.5:asm -u ontrap.a
  27. ;
  28. if exists lib:lc.lib
  29. LC:lc -v         umain cxtrap
  30. echo "Modifying LC.LIB"
  31. lattice_c_5.0.3:c/oml lib:LC.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  32. else
  33. echo "lc.lib not found"
  34. endif
  35. ;
  36. if exists lib:lcs.lib
  37. LC:lc -v -w    umain cxtrap
  38. echo "Modifying LCS.LIB"
  39. lattice_c_5.0.3:c/oml lib:LCS.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  40. else
  41. echo "LCS.LIB not found"
  42. endif
  43. ;
  44. if exists lib:lcnb.lib
  45. LC:lc -v -b0    umain cxtrap
  46. echo "Modifying LCNB.LIB"
  47. lattice_c_5.0.3:c/oml lib:LCNB.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  48. else
  49. echo "LCNB.LIB not found"
  50. endif
  51. ;
  52. if exists lib:lcsnb.lib
  53. LC:lc -v -b0 -w    umain cxtrap
  54. echo "Modifying LCSNB.LIB"
  55. lattice_c_5.0.3:c/oml lib:LCSNB.LIB r ontrap.o trapcode.o umain.o cxtrap.o
  56. else
  57. echo "LCSNB.LIB not found"
  58. endif
  59. ;
  60. echo "Cleanup.  Removing .o files"
  61. delete ontrap.o trapcode.o umain.o cxtrap.o
  62. ;
  63. echo "Installation complete!"
  64. echo "You should now backup C.O, CRES.O, LC.LIB, LCS.LIB, LCNB.LIB and LCSNB.LIB."
  65.