diff --git a/.gitignore b/.gitignore index 497f1c9d..5e898ad0 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,7 @@ Research/*.exe Research/*.obj RESEARCH/*.EXE RESEARCH/*.OBJ + +# Borland C++ ILINK32 debug information - can't be deactivated, unfortunately. +*.tds +*.TDS diff --git a/build32b.bat b/build32b.bat index 1686bf22..3ba8f044 100755 --- a/build32b.bat +++ b/build32b.bat @@ -4,6 +4,16 @@ echo Running the first, 32-bit part of the ReC98 build process. set ReC98_ASM=tasm32 /m /mx /kh32768 /t /ilibs\master.lib\ set CXX32=bcc32 +REM Silence incorrect warnings for Borland C++ 5.5 +REM ---------------------------------------------- +REM 'identifier' is assigned a value that is never used +set CXX32FLAGS=%CXX32FLAGS% -w-8004 +REM Comparing signed and unsigned values +set CXX32FLAGS=%CXX32FLAGS% -w-8012 +REM ---------------------------------------------- + +set CXX32FLAGS=%CXX32FLAGS% -O2 -v- -x- + del /S *.obj for /L %%i in (1,1,5) do mkdir bin\th0%%i 2>NUL @@ -13,6 +23,10 @@ if errorlevel 9009 goto no_tasm32 %CXX32% 1>NUL 2>NUL if errorlevel 9009 goto no_bcc32 +set BMP2ARR=bin\Pipeline\bmparr32.exe + +%CXX32% %CXX32FLAGS% -nbin/Pipeline/ Pipeline\bmp2arr.c Pipeline\bmp2arrl.c + %ReC98_ASM% th01_op.asm bin\th01\op.obj %ReC98_ASM% th01_reiiden.asm bin\th01\reiiden.obj %ReC98_ASM% th01_fuuin.asm bin\th01\fuuin.obj