Wimpslot 500k

Echo DLL.MakeTree %*0
Echo

If "%0"="" Then Echo Usage:
If "%0"="" Then Echo MakeTree |<libname>
If "%0"="" Then Echo This creates all the subdirectories and makefiles
If "%0"="" Then Echo for the DeskLib sublibrary 
If "%0"="" Then Echo '|<DeskLib_Sources$Dir>.Libraries.DLL.|<libname>'
If "%0"="" Then Echo It is ok to do this even if the subdirectories already
If "%0"="" Then Echo exist - no .o files will be deleted.
If "%0"="" Then Error MakeTree exited.

If "<DeskLib_Sources$Dir>"="" Then Error !DLSources hasn't been seen by the Filer

CDir <DeskLib_Sources$Dir>.Libraries.%0
CDir <DeskLib_Sources$Dir>.Libraries.%0.Static
CDir <DeskLib_Sources$Dir>.Libraries.%0.DLL
Cdir <DeskLib_Sources$Dir>.Libraries.%0.Static.o
Cdir <DeskLib_Sources$Dir>.Libraries.%0.DLL.o

Makatic <DeskLib_Sources$Dir>.Libraries.%0 %0 <DeskLib_Sources$Dir>.TemplateMF.Static Static.Makefile

Makatic <DeskLib_Sources$Dir>.Libraries.%0 %0 <DeskLib_Sources$Dir>.TemplateMF.MakeDLL DLL.MakeDLL

Makatic <DeskLib_Sources$Dir>.Libraries.%0 %0 <DeskLib_Sources$Dir>.TemplateMF.MkStubsOs DLL.MkStubsOs

Create <DeskLib_Sources$Dir>.Libraries.%0.IsDLL
