sigh. i dont know

This commit is contained in:
Nero 2020-02-28 19:55:00 +00:00
parent f4f89e8e48
commit 30ae244ef1
9 changed files with 110 additions and 212 deletions

View file

@ -1,17 +1,14 @@
DISTFILES = $(PROGRAMS)
.PHONY: default
.PHONY: default bootstrap clean qemu-rom qemu-floppy
cp437.bin: src/cp437.bmp scripts/bmp2font
scripts/bmp2font $< $@
default: fdimage.img
vga11.bin: src/vga11.asm cp437.bin
nasm -o $@ $<
MAC.COM:
wget -N http://www.cpm.z80.de/download/mac-b.zip
unzip mac-b.zip
CP437.BIN: CP437.BMP HOST/bmp2font
HOST/bmp2font $< $@
HOST/em8080: HOST/8080/i8080.o HOST/em8080.o
scripts/%: src/scripts/%.c
mkdir -p scripts
gcc -o $@ $<
clean:
rm -f *.COM *.BIN HOST/bmp2font HOST/em8080 HOST/*.o
rm -f *.bin scripts/*