Split build batch files to support parallel make
This commit is contained in:
parent
ab809d01b1
commit
8ae365f4a7
6 changed files with 16 additions and 18 deletions
7
Makefile
7
Makefile
|
@ -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
|
||||
|
|
15
build.bat
15
build.bat
|
@ -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
3
mk-boot.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
masm boot;
|
||||
link boot;
|
||||
exe2bin boot.exe boot.bin
|
3
mk-comma.bat
Normal file
3
mk-comma.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
masm command;
|
||||
link command;
|
||||
exe2bin command.exe command.com
|
3
mk-io.bat
Normal file
3
mk-io.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
masm io;
|
||||
link io;
|
||||
exe2bin io.exe io.sys
|
3
mk-ordos.bat
Normal file
3
mk-ordos.bat
Normal file
|
@ -0,0 +1,3 @@
|
|||
masm stddos;
|
||||
link stddos;
|
||||
exe2bin stddos.exe ordos.sys
|
Loading…
Reference in a new issue