1 @echo // Copyright (C) 1996-2011 Markus F.X.J. Oberhumer
\r
4 @echo // Watcom C/C++
\r
7 @if "%BECHO%"=="n" echo off
\r
10 set CC=wcl -zq -ml -2 -bt#os2 -l#os2
\r
14 %CC% %CF% -c src\*.c
\r
15 @if errorlevel 1 goto error
\r
16 wlib -q -b -n -t %BLIB% @b\dos16\wc.rsp
\r
17 @if errorlevel 1 goto error
\r
19 %CC% %CF% examples\dict.c %LF%
\r
20 @if errorlevel 1 goto error
\r
21 %CC% %CF% examples\lzopack.c %LF%
\r
22 @if errorlevel 1 goto error
\r
23 %CC% %CF% examples\precomp.c %LF%
\r
24 @if errorlevel 1 goto error
\r
25 %CC% %CF% examples\precomp2.c %LF%
\r
26 @if errorlevel 1 goto error
\r
27 %CC% %CF% examples\simple.c %LF%
\r
28 @if errorlevel 1 goto error
\r
30 %CC% %CF% lzotest\lzotest.c %LF%
\r
31 @if errorlevel 1 goto error
\r
33 %CC% %CF% -Iinclude\lzo minilzo\testmini.c minilzo\minilzo.c
\r
34 @if errorlevel 1 goto error
\r
40 @echo ERROR during build!
\r