home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / DESQVIEW / TECH / DVA_TCPP.ZIP / BUILDLIB.BAT < prev    next >
Encoding:
DOS Batch File  |  1990-08-06  |  1.2 KB  |  45 lines

  1. @echo off
  2. rem
  3. rem BUILDLIB - Build one of the DVAWARE libraries based on the given model.
  4. rem
  5.  
  6. rem if no parameters goto parameter explanation
  7. if "%1"=="" goto params
  8.  
  9. rem if valid parameter goto processing
  10. if "%1"=="t" goto okparams
  11. if "%1"=="s" goto okparams
  12. if "%1"=="m" goto okparams
  13. if "%1"=="c" goto okparams
  14. if "%1"=="l" goto okparams
  15. if "%1"=="h" goto okparams
  16. if "%1"=="T" goto okparams
  17. if "%1"=="S" goto okparams
  18. if "%1"=="M" goto okparams
  19. if "%1"=="C" goto okparams
  20. if "%1"=="L" goto okparams
  21. if "%1"=="H" goto okparams
  22. rem otherwise goto parameter explanation
  23. goto params
  24.  
  25. :okparams
  26.  
  27. rem compile each module
  28. tcc -b- -c -d -f- -G- -k- -N- -O -r+ -Z+ -m%1 DVCONIO.c
  29. tcc -b- -c -d -f- -G- -k- -N- -O -r+ -Z+ -m%1 DVCRIT.c
  30. tcc -b- -c -d -f- -G- -k- -N- -O -r+ -Z+ -m%1 DVGETVER.c
  31. tcc -b- -c -d -f- -G- -k- -N- -O -r+ -Z+ -m%1 DVGETVID.c
  32. tcc -b- -c -d -f- -G- -k- -N- -O -r+ -Z+ -m%1 DVPAUSE.c
  33. tcc -b- -c -d -f- -G- -k- -N- -O -r+ -Z+ -m%1 INDV.c
  34.  
  35. rem put together into a library
  36. tlib dvaware%1 -+DVCONIO -+DVCRIT -+DVGETVER -+DVGETVID -+DVPAUSE -+INDV, dvaware%1.lst
  37. goto end
  38.  
  39. :params
  40. echo BUILDLIB x
  41. echo    where x is the model: t,s,m,c,l,h
  42.  
  43. :end
  44. 
  45.