.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 Zip utility
; John Bush, 11 Sep 1992 for Zip 1.9

; Make sure we know where we are.
; Assumes starting directory to be Zip 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

; make sure compiler is setup right

Assign Include: LC:/Include_2.0
Assign Lib:     LC:/Lib

; Run LMK with substituted ARGS.

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

; work still in progress (9/14/92)
;   LMK -f amiga/LMKFile zipnote  REV={REV} DOSFLAG=-D{DOSFLAG}
;   LMK -f amiga/LMKFile zipsplit REV={REV} DOSFLAG=-D{DOSFLAG}
;   LMK -f amiga/LMKFile zipcloak REV={REV} DOSFLAG=-D{DOSFLAG}

; Delete ".o" files or anything else LMKFile wants to.

;  LMK -f amiga/LMKFile clean

Quit
