Split build batch files to support parallel make
This commit is contained in:
parent
ab809d01b1
commit
8ae365f4a7
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 $@ link.exe ::
|
||||||
mcopy -i $@ masm.exe ::
|
mcopy -i $@ masm.exe ::
|
||||||
|
|
||||||
BOOT.BIN IO.SYS ORDOS.SYS COMMAND.COM:
|
|
||||||
dosbox -exit build.bat
|
|
||||||
|
|
||||||
BOOT.BIN: boot.asm
|
BOOT.BIN: boot.asm
|
||||||
|
dosbox -exit mk-boot.bat
|
||||||
|
|
||||||
IO.SYS: io.asm
|
IO.SYS: io.asm
|
||||||
|
dosbox -exit mk-io.bat
|
||||||
|
|
||||||
ORDOS.SYS: msdos.asm stddos.asm
|
ORDOS.SYS: msdos.asm stddos.asm
|
||||||
|
dosbox -exit mk-ordos.bat
|
||||||
|
|
||||||
COMMAND.COM: command.asm
|
COMMAND.COM: command.asm
|
||||||
|
dosbox -exit mk-comma.bat
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f ordos.img
|
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
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
masm boot;
|
||||||
|
link boot;
|
||||||
|
exe2bin boot.exe boot.bin
|
|
@ -0,0 +1,3 @@
|
||||||
|
masm command;
|
||||||
|
link command;
|
||||||
|
exe2bin command.exe command.com
|
|
@ -0,0 +1,3 @@
|
||||||
|
masm stddos;
|
||||||
|
link stddos;
|
||||||
|
exe2bin stddos.exe ordos.sys
|
Loading…
Reference in New Issue