Split build batch files to support parallel make

This commit is contained in:
Juhani Krekelä 2021-08-26 13:07:31 +03:00
parent ab809d01b1
commit 8ae365f4a7
6 changed files with 16 additions and 18 deletions

View File

@ -11,16 +11,17 @@ ordos.img: BOOT.BIN IO.SYS ORDOS.SYS COMMAND.COM debug.com edlin.com exe2bin.exe
mcopy -i $@ link.exe ::
mcopy -i $@ masm.exe ::
BOOT.BIN IO.SYS ORDOS.SYS COMMAND.COM:
dosbox -exit build.bat
BOOT.BIN: boot.asm
dosbox -exit mk-boot.bat
IO.SYS: io.asm
dosbox -exit mk-io.bat
ORDOS.SYS: msdos.asm stddos.asm
dosbox -exit mk-ordos.bat
COMMAND.COM: command.asm
dosbox -exit mk-comma.bat
clean:
rm -f ordos.img

View File

@ -1,15 +0,0 @@
masm command;
link command;
exe2bin command.exe command.com
masm stddos;
link stddos;
exe2bin stddos.exe ordos.sys
masm boot;
link boot;
exe2bin boot.exe boot.bin
masm io;
link io;
exe2bin io.exe io.sys

3
mk-boot.bat Normal file
View File

@ -0,0 +1,3 @@
masm boot;
link boot;
exe2bin boot.exe boot.bin

3
mk-comma.bat Normal file
View File

@ -0,0 +1,3 @@
masm command;
link command;
exe2bin command.exe command.com

3
mk-io.bat Normal file
View File

@ -0,0 +1,3 @@
masm io;
link io;
exe2bin io.exe io.sys

3
mk-ordos.bat Normal file
View File

@ -0,0 +1,3 @@
masm stddos;
link stddos;
exe2bin stddos.exe ordos.sys