.KEY REV/K,DOSFLAG/K
.BRA {
.KET }
.DOLLAR |
.DEF REV _2.0           ; set to _1.3  for AmigaDOS 1.3.x
.DEF DOSFLAG AMIGADOS2  ; set to AMIGA for AmigaDOS 1.3.x

; Simple AmigaDOS script to run LMK to make UnZip utility
; John Bush, 7 Sep 1992 for UnZip 5.1

; Make sure we know where we are.
; Assumes starting directory to be Unzip Source dir or AMIGA sub-dir.

failat 99       ; ignore errs
cd amiga >nil:  ; may not be found, do not fret
failat 10       ; normal error level
cd /amiga       ; BETTER be found!
cd /            ; Should be UnZip common source dir

; Run LMK with substituted ARGS.

   LMK -f amiga/LMKFile REV={REV} DOSFLAG=-D{DOSFLAG}

; Delete ".o" files or anything else LMKFile wants to.
  LMK -f amiga/LMKFile clean

Quit
