18 lines
288 B
Makefile
18 lines
288 B
Makefile
|
ordos.img: BOOT.BIN
|
||
|
rm -f ordos.img
|
||
|
mkdosfs -C $@ -M 0xff 320
|
||
|
rw -I 0x7c00 -i BOOT.BIN -o $@ -c 512
|
||
|
|
||
|
BOOT.BIN ORDOS.SYS COMMAND.COM:
|
||
|
dosbox -exit build.bat
|
||
|
|
||
|
BOOT.BIN: boot.asm
|
||
|
|
||
|
ORDOS.SYS: msdos.asm stddos.asm
|
||
|
|
||
|
COMMAND.COM: command.asm
|
||
|
|
||
|
clean:
|
||
|
rm -f ordos.img
|
||
|
dosbox -exit clean.bat
|