kusano 7d535a
@echo // Copyright (C) 1996-2008 Markus F.X.J. Oberhumer
kusano 7d535a
@echo //
kusano 7d535a
@echo //   DOS 32-bit
kusano 7d535a
@echo //   Microway NDP 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=mx486
kusano 7d535a
set CF=-ansi -on %CFI%
kusano 7d535a
set LF=%BLIB% -bind -map
kusano 7d535a
kusano 7d535a
@REM %CC% %CF% -Isrc -c src\*.c
kusano 7d535a
for %%f in (src\*.c) do %CC% %CF% -Isrc -c %%f
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
ndplib %BLIB% @b\dos32\ndp.rsp
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
kusano 7d535a
%CC% %CF% -Iexamples examples\dict.c %LF%
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
%CC% %CF% -Iexamples examples\lzopack.c %LF%
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
%CC% %CF% -Iexamples examples\precomp.c %LF%
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
%CC% %CF% -Iexamples examples\precomp2.c %LF%
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
%CC% %CF% -Iexamples examples\simple.c %LF%
kusano 7d535a
@if errorlevel 1 goto error
kusano 7d535a
kusano 7d535a
%CC% %CF% -Dconst= -Ilzotest lzotest\lzotest.c %LF%
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