Code: Select all
@ ECHO OFF
COPY c:\fwh\source\function\*.prg
COPY c:\fwh\source\winapi\*.prg
COPY c:\fwh\source\classes\*.prg
DEL expbuild.prg
DEL db10.prg
DEL odbc32.prg
DEL dbm.prg
DEL vbxctrl.prg
DEL _index.prg
DEL dbms.prg
DEL ddeserv.prg
DEL field.prg
DEL tnewsins.prg
DEL c3.prg
SET HARBOURCMD=/a /es1 /gc0 /l /m /n /q /w
SET INCLUDE=c:\fwh\include;c:\xhrb\include
FOR %%i IN (*.prg) DO c:\xhrb\bin\harbour %%i
SET HARBOURCMD=
SET INCLUDE=
IF EXIST *.prg DEL *.prg
FOR %%i IN (*.c) DO c:\bcc55\bin\bcc32 +xhrb.cfg -c %%i
IF EXIST *.c DEL *.c
FOR %%i IN (*.obj) DO c:\bcc55\bin\tlib Fivehx /P32 +%%i
c:\bcc55\bin\tlib Fivehx /P32 +c:\fwh\lib\activex.obj
IF EXIST *.obj DEL *.obj
IF EXIST *.bak DEL *.bak
rem IF EXIST fivehx.lib COPY fivehx.lib c:\fwh\lib
rem IF EXIST fivehx.lib DEL fivehx.lib