home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / c / quikc21.zip / CLQBNCH.BAT next >
DOS Batch File  |  1989-06-17  |  580b  |  17 lines

  1. echo off
  2. for %%i in (s m c l h) do if %1.==%%i. goto lomodel
  3. for %%i in (S M C L H) do if %1.==%%i. goto model
  4. echo You must specify a model size (s,m,c,l, or h).  Tiny not supported.
  5. goto done
  6. :lomodel
  7. if %1.==s. cl -AS -Zid -Zp1 qbench.c timerd12.c qwikc21s.lib
  8. if %1.==m. cl -AM -Zid -Zp1 qbench.c timerd12.c qwikc21m.lib
  9. if %1.==c. cl -AC -Zid -Zp1 qbench.c timerd12.c qwikc21c.lib
  10. if %1.==l. cl -AL -Zid -Zp1 qbench.c timerd12.c qwikc21l.lib
  11. if %1.==h. cl -AH -Zid -Zp1 qbench.c timerd12.c qwikc21h.lib
  12. goto done
  13. :model
  14. cl -A%1 qbench.c qwikc21%1.lib
  15. :done
  16.  
  17.