1 @echo // Copyright (C) 1996-2011 Markus F.X.J. Oberhumer
\r
4 @echo // Borland C/C++ + Pharlap 286DOS-Extender
\r
7 @if "%BECHO%"=="n" echo off
\r
10 set CC=bcc286 -ml -2
\r
11 set CF=-O1 -d -w -w-rch -w-sig %CFI% -Iinclude\lzo
\r
14 %CC% %CF% -Isrc -c @b\src.rsp
\r
15 @if errorlevel 1 goto error
\r
16 tlib %BLIB% @b\dos16\bc.rsp
\r
17 @if errorlevel 1 goto error
\r
19 %CC% %CF% -Iexamples examples\dict.c %LF%
\r
20 @if errorlevel 1 goto error
\r
21 %CC% %CF% -Iexamples -DWITH_TIMER examples\lzopack.c %LF%
\r
22 @if errorlevel 1 goto error
\r
23 %CC% %CF% -Iexamples examples\precomp.c %LF%
\r
24 @if errorlevel 1 goto error
\r
25 %CC% %CF% -Iexamples examples\precomp2.c %LF%
\r
26 @if errorlevel 1 goto error
\r
27 %CC% %CF% -Iexamples examples\simple.c %LF%
\r
28 @if errorlevel 1 goto error
\r
30 %CC% %CF% -Ilzotest lzotest\lzotest.c %LF%
\r
31 @if errorlevel 1 goto error
\r
33 %CC% %CF% -Iminilzo minilzo\testmini.c minilzo\minilzo.c
\r
34 @if errorlevel 1 goto error
\r
40 @echo ERROR during build!
\r