home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / _archvrs / unix / unzip51 / amiga / makescri < prev    next >
Encoding:
AmigaDOS Script File  |  1992-10-05  |  746 b   |  28 lines

  1. .KEY REV/K,DOSFLAG/K
  2. .BRA {
  3. .KET }
  4. .DOLLAR |
  5. .DEF REV _2.0           ; set to _1.3  for AmigaDOS 1.3.x
  6. .DEF DOSFLAG AMIGADOS2  ; set to AMIGA for AmigaDOS 1.3.x
  7.  
  8. ; Simple AmigaDOS script to run LMK to make UnZip utility
  9. ; John Bush, 7 Sep 1992 for UnZip 5.1
  10.  
  11. ; Make sure we know where we are.
  12. ; Assumes starting directory to be Unzip Source dir or AMIGA sub-dir.
  13.  
  14. failat 99       ; ignore errs
  15. cd amiga >nil:  ; may not be found, do not fret
  16. failat 10       ; normal error level
  17. cd /amiga       ; BETTER be found!
  18. cd /            ; Should be UnZip common source dir
  19.  
  20. ; Run LMK with substituted ARGS.
  21.  
  22.    LMK -f amiga/LMKFile REV={REV} DOSFLAG=-D{DOSFLAG}
  23.  
  24. ; Delete ".o" files or anything else LMKFile wants to.
  25.   LMK -f amiga/LMKFile clean
  26.  
  27. Quit
  28.