Skip to content

Commit

Permalink
Fix building under Watcom C (DosBox), wmake arguments according to help
Browse files Browse the repository at this point in the history
  • Loading branch information
boeckmann authored and Bernd Böckmann committed May 25, 2024
1 parent 1d4f639 commit ff163f8
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ if not "%MAKE%" == "" goto skip_make
if "%COMPILER%" == "TC2" set MAKE=%TC2_BASE%\make -f
if "%COMPILER%" == "TURBOCPP" set MAKE=%TP1_BASE%\bin\make -f
if "%COMPILER%" == "BC5" set MAKE=%BC5_BASE%\bin\make -f
if "%COMPILER%" == "WATCOM" set MAKE=wmake /ms /h /f
if "%COMPILER%" == "WATCOM" set MAKE=wmake -ms -h -f

echo Make is %MAKE%.

Expand All @@ -97,10 +97,10 @@ echo Checking SUPPL library
cd suppl
if exist skip goto endSuppl
echo Building SUPPL library
%MAKE%suppl.mak all
%MAKE% suppl.mak all
if errorlevel 1 goto ende
cd src
%MAKE%suppl.mak all
%MAKE% suppl.mak all
if errorlevel 1 goto ende
cd ..
:endSuppl
Expand All @@ -110,50 +110,50 @@ echo.
echo Making basic utilities for build process
echo.
cd utils
%MAKE%utils.mak all
%MAKE% utils.mak all
if errorlevel 1 goto ende
cd ..

echo.
echo Making STRINGS resource
echo.
cd strings
%MAKE%strings.mak all
%MAKE% strings.mak all
if errorlevel 1 goto ende
cd strings
%MAKE%strings.mak all
%MAKE% strings.mak all
if errorlevel 1 goto ende
cd ..\..

echo.
echo Making CRITER resource
echo.
cd criter
%MAKE%criter.mak all
%MAKE% criter.mak all
if errorlevel 1 goto ende
cd ..

echo.
echo Making misc library
echo.
cd lib
%MAKE%lib.mak all
%MAKE% lib.mak all
if errorlevel 1 goto ende
cd ..

echo.
echo Making commands library
echo.
cd cmd
%MAKE%cmd.mak all
%MAKE% cmd.mak all
if errorlevel 1 goto ende
cd ..

echo.
echo Making COMMAND.COM
echo.
cd shell
%MAKE%command.mak all
%MAKE% command.mak all
if errorlevel 1 goto ende
cd ..

Expand All @@ -172,7 +172,7 @@ cd tools
type tools.m1 >tools.mak
..\utils\mktools.exe >>tools.mak
type tools.m2 >>tools.mak
%MAKE%tools.mak all
%MAKE% tools.mak all
if errorlevel 1 goto ende
cd ..

Expand Down

0 comments on commit ff163f8

Please sign in to comment.