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

  1. @echo off
  2.  
  3. rem Harbour executable builder batch file
  4. rem
  5. rem Compiler: GCC (EMX)
  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. gcc %1.c -I..\include -L..\lib -lrtl -lrdd -lvm -lrdd -lrtl -ldbfntx
  23. del %1.c
  24.