Files
harbour-core/harbour/contrib/examples/hscript/bld_vc.bat
Viktor Szakats 376106bfd6 2008-08-05 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/examples/pp/bld_b32.bat
   * contrib/examples/pp/bld_vc.bat
   * contrib/examples/guestbk/bld_b32.bat
   * contrib/examples/guestbk/bld_vc.bat
   * contrib/examples/pe/bld_b32.bat
   * contrib/examples/pe/bld_vc.bat
   * contrib/examples/dbu/bld_b32.bat
   * contrib/examples/dbu/bld_vc.bat
   * contrib/examples/hscript/bld_b32.bat
   * contrib/examples/hscript/bld_vc.bat
   * utils/hbdoc/bld_vc.bat
   * utils/hbdoc/bld_b32.bat
   * utils/hbmake/bld_vc.bat
   * utils/hbmake/bld_b32.bat
     + Cleaning .c and .obj files after the build process.
     ! This is needed to not interfere with the GNU-make system, 
       which would pickup and try to compiler those temp .c files.
2008-08-05 14:31:22 +00:00

30 lines
826 B
Batchfile

@echo off
rem
rem $Id$
rem
rem NOTE: This sample program needs hbnf.lib from contrib/hbnf
..\..\..\bin\harbour hscript /n /i..\..\..\include
cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\..\include hscript.c /link /subsystem:CONSOLE /LIBPATH:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib hbnf.lib user32.lib winspool.lib
del *.obj
del hscript.c
if not exist hscript.exe goto :EXIT
hscript dir.hs > dir.htm
hscript hello.hs > hello.htm
hscript multiply.hs > multiply.htm
hscript ugly.hs > ugly.htm
echo Ready to go!
echo.
echo Try:
echo.
echo start dir.htm
echo start hello.htm
echo start multiply.htm
echo start ugly.htm
:EXIT