mirror of https://github.com/nmlgc/ReC98.git
[Build] Compile bmp2arr as a 32-bit binary
This commit is contained in:
parent
8cbaaf0b45
commit
42c66117b5
|
@ -4,3 +4,7 @@ Research/*.exe
|
||||||
Research/*.obj
|
Research/*.obj
|
||||||
RESEARCH/*.EXE
|
RESEARCH/*.EXE
|
||||||
RESEARCH/*.OBJ
|
RESEARCH/*.OBJ
|
||||||
|
|
||||||
|
# Borland C++ ILINK32 debug information - can't be deactivated, unfortunately.
|
||||||
|
*.tds
|
||||||
|
*.TDS
|
||||||
|
|
14
build32b.bat
14
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 ReC98_ASM=tasm32 /m /mx /kh32768 /t /ilibs\master.lib\
|
||||||
set CXX32=bcc32
|
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
|
del /S *.obj
|
||||||
for /L %%i in (1,1,5) do mkdir bin\th0%%i 2>NUL
|
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
|
%CXX32% 1>NUL 2>NUL
|
||||||
if errorlevel 9009 goto no_bcc32
|
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_op.asm bin\th01\op.obj
|
||||||
%ReC98_ASM% th01_reiiden.asm bin\th01\reiiden.obj
|
%ReC98_ASM% th01_reiiden.asm bin\th01\reiiden.obj
|
||||||
%ReC98_ASM% th01_fuuin.asm bin\th01\fuuin.obj
|
%ReC98_ASM% th01_fuuin.asm bin\th01\fuuin.obj
|
||||||
|
|
Loading…
Reference in New Issue