Blame thirdparty/lzo/2.03/B/os2/wc.bat
|
kusano |
7d535a |
@echo // Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
|
|
kusano |
7d535a |
@echo //
|
|
kusano |
7d535a |
@echo // OS/2 32-bit
|
|
kusano |
7d535a |
@echo // Watcom C/C++
|
|
kusano |
7d535a |
@echo //
|
|
kusano |
7d535a |
@call b\prepare.bat
|
|
kusano |
7d535a |
@if "%BECHO%"=="n" echo off
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
set CC=wcl386 -zq -mf -5r -bt#os2 -l#os2v2
|
|
kusano |
7d535a |
set CF=-ox -zc %CFI% %CFASM%
|
|
kusano |
7d535a |
set LF=%BLIB%
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%CC% %CF% -c src\*.c
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
wlib -q -b -n -t %BLIB% @b\win32\wc.rsp
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%CC% %CF% examples\dict.c %LF%
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
%CC% %CF% examples\lzopack.c %LF%
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
%CC% %CF% examples\precomp.c %LF%
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
%CC% %CF% examples\precomp2.c %LF%
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
%CC% %CF% examples\simple.c %LF%
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%CC% %CF% lzotest\lzotest.c %LF%
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
%CC% %CF% -Iinclude\lzo minilzo\testmini.c minilzo\minilzo.c
|
|
kusano |
7d535a |
@if errorlevel 1 goto error
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
|
|
kusano |
7d535a |
@call b\done.bat
|
|
kusano |
7d535a |
@goto end
|
|
kusano |
7d535a |
:error
|
|
kusano |
7d535a |
@echo ERROR during build!
|
|
kusano |
7d535a |
:end
|
|
kusano |
7d535a |
@call b\unset.bat
|