home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
PASCAL
/
TPLZH026.ZIP
/
MAKEFILE
< prev
next >
Wrap
Text File
|
1993-08-05
|
2KB
|
74 lines
#************************************************************************
# Makefile for all huffman variants & Spaz.
# Needed:
# Unix compatible make utility
# Microsoft Assembler v5.10+
# this example includes huffman compression engine, and SPAZ.
# You will have to remove the huffman stuff to use it.
#************************************************************************
#************************************************************************
# Turbo Pascal directory
HOME = e:\tp
OBJECT = $(HOME)\obj
UNITS = $(HOME)\units
PASINC = $(HOME)\INCLUDE
SRC = $(HOME)\lzh
LZHVER = 026
SPAZVer = 164
Spazrel = e:\bbs\crunch\spaz$(SPAZVer).sqz
SOFTDIST = L:\bbs\softdist
DOCS = l:\doc
# ************************************************************************
.SUFFIXES: .obj .asm .tpu .pas
.asm.obj:
ml /c /Cu /W3 /Sn /nologo /Fo$*.obj $*.asm
.pas.tpu:
tpc $* -O$(OBJ) -I$(PASINC) -U$(UNITS)
.pas.exe:
tpc $* -O$(OBJECT) -U$(UNITS)
- Attrib -r $(RA)\$(@B).exe
Copy $@ $(RA)
.asm.com:
ml /AT /Cu /W3 /Sn /nologo $*.asm
attrib -r e:\arc\$(@B).com
copy $*.com e:\arc
attrib +r e:\arc\$(@B).com
#************************************************************************
all: lz.exe testlzo.exe spaz.com
lz.exe: $(UNITS)\lzh.tpu
testlzo.exe: $(UNITS)\lzo.tpu
release: $(SOFTDIST)\tplzh$(LZHVER).zip
$(SOFTDIST)\tplzh$(LZHVER).zip: $(SRC)\makefile. $(OBJ)\lzhasm.obj\
$(UNITS)\lzh.pas $(UNITS)\lzo.pas $(SRC)\lz.pas\
$(SRC)\testlzo.pas $(SRC)\tplzh.hst $(DOCS)\tplzh.doc lzh.lst
del $@
pkzip -ex -a $(SOFTDIST)\tplzh$(LZHVER) @lzh.lst
Spazrel: e:\bbs\crunch\spaz$(SPAZVer).sqz
#************************************************************************
#Dependencies
$(UNITS)\lzh.tpu: $(OBJ)\lzhasm.obj
$(UNITS)\lzo.tpu: $(OBJ)\lzhasm.obj
#************************************************************************