home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c004 / 4.ddi / NETBIOS / MAKEAPP.BAT < prev    next >
Encoding:
DOS Batch File  |  1989-04-18  |  1020 b   |  43 lines

  1. echo off
  2.  
  3. rem check syntax
  4. if XX%1==XX goto usage
  5. if %1==S goto small
  6. if %1==s goto small
  7. if %1==C goto compact
  8. if %1==c goto compact
  9. if %1==M goto medium
  10. if %1==m goto medium
  11. if %1==L goto large
  12. if %1==l goto large
  13. echo ************
  14. echo SYNTAX ERROR
  15. echo ************
  16. :usage
  17. echo Program to build applications and application library for c-tree Netbios Server
  18. echo *****:
  19. echo usage: MAKEAPP {S or C or M or L}
  20. echo *****:
  21. echo where S=small, C=compact, M=medium, L=large
  22. echo The libary and object files are created in
  23. echo directory nAPP (eg. SAPP for small model).
  24. echo The lib file is named CTALIB.LIB
  25. goto done
  26. :small
  27. if not exist SAPP\*.* md SAPP
  28. make D=SAPP CM=/AS AM=SMALL makeapp.mak
  29. goto done
  30. :compact
  31. if not exist CAPP\*.* md CAPP
  32. make D=CAPP CM=/AC AM=COMPACT makeapp.mak
  33. goto done
  34. :medium
  35. if not exist MAPP\*.* md MAPP
  36. make D=MAPP CM=/AM AM=MEDIUM makeapp.mak
  37. goto done
  38. :large
  39. if not exist LAPP\*.* md LAPP
  40. make D=LAPP CM=/AL AM=LARGE makeapp.mak
  41. goto done
  42. :done
  43.