home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / desklib / sources / DeskLib / !DLSources / Scripts / DLL / MakeTree < prev    next >
Encoding:
Text File  |  1995-06-07  |  1.1 KB  |  30 lines

  1. Wimpslot 500k
  2.  
  3. Echo DLL.MakeTree %*0
  4. Echo
  5.  
  6. If "%0"="" Then Echo Usage:
  7. If "%0"="" Then Echo MakeTree |<libname>
  8. If "%0"="" Then Echo This creates all the subdirectories and makefiles
  9. If "%0"="" Then Echo for the DeskLib sublibrary 
  10. If "%0"="" Then Echo '|<DeskLib_Sources$Dir>.Libraries.DLL.|<libname>'
  11. If "%0"="" Then Echo It is ok to do this even if the subdirectories already
  12. If "%0"="" Then Echo exist - no .o files will be deleted.
  13. If "%0"="" Then Error MakeTree exited.
  14.  
  15. If "<DeskLib_Sources$Dir>"="" Then Error !DLSources hasn't been seen by the Filer
  16.  
  17. CDir <DeskLib_Sources$Dir>.Libraries.%0
  18. CDir <DeskLib_Sources$Dir>.Libraries.%0.Static
  19. CDir <DeskLib_Sources$Dir>.Libraries.%0.DLL
  20. Cdir <DeskLib_Sources$Dir>.Libraries.%0.Static.o
  21. Cdir <DeskLib_Sources$Dir>.Libraries.%0.DLL.o
  22.  
  23. Makatic <DeskLib_Sources$Dir>.Libraries.%0 %0 <DeskLib_Sources$Dir>.TemplateMF.Static Static.Makefile
  24.  
  25. Makatic <DeskLib_Sources$Dir>.Libraries.%0 %0 <DeskLib_Sources$Dir>.TemplateMF.MakeDLL DLL.MakeDLL
  26.  
  27. Makatic <DeskLib_Sources$Dir>.Libraries.%0 %0 <DeskLib_Sources$Dir>.TemplateMF.MkStubsOs DLL.MkStubsOs
  28.  
  29. Create <DeskLib_Sources$Dir>.Libraries.%0.IsDLL
  30.