@echo off
set PROJECT=sample2
set INCLUDE_DIR=..\xharbour\include;pll\i;%PROJECT%\i;..\bcc5\include
set WORK_OBJ_DIR=%PROJECT%\o\h
set DEBUG_OBJ_DIR=%PROJECT%\o\hb
set WORK_EXEPATH=BIN
set DEBUG_EXEPATH=BINB
set WORK_LIB=LIB\pll32.lib 
set DEBUG_LIB=LIB\pll32b.lib 
set HFLAGS=-n -a -w  -dCDX
set HFLAGS1=-n -w -dCDX

set CFLAGS=-c -O2 -tW -tWM -d -a8 -OS -5 -6
call Plus1.bat %1 %2
if errorlevel 1 goto ERR

if exist Best4.rc brc32 -r Best4.rc

echo ..\bcc5\lib\c0w32.obj + > b32.bc
echo %OBJ_DIR%\_main    + >> b32.bc
echo %OBJ_DIR%\grefer   + >> b32.bc
echo %OBJ_DIR%\reestr   + >> b32.bc
echo %OBJ_DIR%\copro    + >> b32.bc
echo %OBJ_DIR%\sortseek + >> b32.bc
echo %OBJ_DIR%\input    + >> b32.bc
echo %OBJ_DIR%\refers   + >> b32.bc
echo %OBJ_DIR%\print    + >> b32.bc
echo %OBJ_DIR%\spr_part + >> b32.bc
echo %OBJ_DIR%\s_schet, + >> b32.bc
Call Plus2.bat %1 %2
goto end

:ERR
:end