home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / harbb30i.zip / BIN / buildexe.cmd next >
OS/2 REXX Batch file  |  1999-09-30  |  655b  |  24 lines

  1. @echo off
  2.  
  3. rem Harbour executable builder batch file
  4. rem
  5. rem Compiler: ICC (IBM Visual Age C++ 3.0)
  6. rem Platform: 32-bit OS/2
  7. rem
  8. rem Adapted from the MINGW32 version created by Victor Szel <info@szelvesz.hu>
  9. rem by David G. Holm <dholm@jsd-llc.com>
  10.  
  11. if not "%1" == "" goto compile
  12.  
  13. echo.
  14. echo Usage: makeexe.bat name
  15. echo.
  16. echo - 'name' is the .prg filename *without* extension.
  17. echo - Don't forget to make a MAIN function for you application.
  18. exit
  19.  
  20. :compile
  21. harbour %1.prg /n
  22. icc /Gs+ /W2 /Se /Sd+ /Ti+ -I..\include /C- /Tp %1.c ..\lib\rtl.lib ..\lib\rdd.lib ..\lib\vm.lib ..\lib\rdd.lib ..\lib\rtl.lib ..\lib\dbfntx.lib
  23. del %1.c
  24.