* make_b32.bat
* tests/rddtest/make_c52.bat
* tests/run_prg.bat
* tests/hbmk_gnu.bat
* tests/hbmk_vc.bat
* tests/hbmk_b32.bat
* tests/run_prg_all.bat
* bin/hbmk.bat
* bin/hbmk_os2.cmd
* bin/postinst.bat
* make_vc.bat
* make_gnu_os2.cmd
* make_gnu.bat
* contrib/make_b32_all.bat
* contrib/mtpl_b32.bat
* contrib/make_vc_all.bat
* contrib/mtpl_vc.bat
* contrib/examples/pp/hbmk.bat
* contrib/examples/guestbk/hbmk.bat
* contrib/examples/pe/hbmk.bat
* contrib/examples/hbsqlit2/tests/hbmk.bat
* contrib/examples/uhttpd/hbmk.bat
* contrib/examples/dbu/hbmk.bat
* contrib/examples/terminal/hbmk.bat
* contrib/examples/terminal/hbmk_trm_appn.bat
* contrib/examples/hscript/hbmk.bat
* contrib/examples/rl/hbmk.bat
* utils/hbdoc/hbmk.bat
* utils/hbextern/make_c5x.bat
* utils/hbmake/hbmk.bat
* utils/hbtest/make_c5x.bat
* utils/hbtest/make_xpp.bat
* Minor formatting.
* Cleanups to refer to simply 'hbmk'.
; TODO: Add support for other than bcc/msvc compiler for
HB_USER_LIBS. Change HB_USER_LIBS settings to
contain the raw lib list without extensions.
This is where batch capabilities end, so this
might need a .prg rewrite.
22 lines
433 B
Batchfile
22 lines
433 B
Batchfile
@rem
|
|
@rem $Id$
|
|
@rem
|
|
|
|
@echo off
|
|
|
|
if %HB_ARCHITECTURE%.==. goto BAD_ARCH
|
|
if %HB_COMPILER%.==. goto BAD_COMP
|
|
|
|
if exist %HB_ARCHITECTURE%\%HB_COMPILER%\%1.* del %HB_ARCHITECTURE%\%HB_COMPILER%\%1.*
|
|
make -r "PRG_SOURCES=%1.prg"
|
|
if not errorlevel 1 %HB_ARCHITECTURE%\%HB_COMPILER%\%1 %2 %3 %4 %5 %6 %7 %8 %9
|
|
goto EXIT
|
|
|
|
:BAD_ARCH
|
|
echo HB_ARCHITECTURE is not set.
|
|
goto EXIT
|
|
|
|
:BAD_COMP
|
|
echo HB_COMPILER is not set.
|
|
:EXIT
|