# for compact: small code, large data
# Compact model needed because heap can be exhausted with
# the small model (32K of heap).
CPP = ztc -mc

.cxx.exe:
        $(CPP) $*.cxx
.cxx.obj:
        $(CPP) -c $*.cxx
all :	lltest.exe ldir.exe du.exe

ldir.exe : ldir.obj filelist.obj llist.obj
        $(CPP) $**
#	copy ldir.exe \\
du.exe : du.obj filelist.obj llist.obj
        $(CPP) $**
#	copy du.exe \\
lltest.exe : lltest.obj llist.obj
        $(CPP) $**
freshen :
	pkzip -f dirlist.zip

llist.obj :    llist.hxx    llist.cxx
lltest.obj :   llist.hxx    lltest.cxx
ldir.obj :     filelist.hxx llist.hxx  ldir.cxx
du.obj :       filelist.hxx llist.hxx  du.cxx
filelist.obj : filelist.hxx llist.hxx  filelist.cxx