mirror of
https://github.com/forth-ev/VolksForth.git
synced 2024-11-21 14:31:21 +00:00
Makefile: qemu and bootdisk targets
This commit is contained in:
parent
904a83dcfe
commit
adde793779
@ -1,6 +1,7 @@
|
|||||||
TARGET = forth.com
|
TARGET = forth.com
|
||||||
BASE = ../..
|
BASE = ../..
|
||||||
BLKPACK = $(BASE)/tools/blkpack
|
BLKPACK = $(BASE)/tools/blkpack
|
||||||
|
BOOTPRG = ./bootdisk
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
all: $(TARGET)
|
all: $(TARGET)
|
||||||
@ -11,6 +12,14 @@ all: $(TARGET)
|
|||||||
$(TARGET): kernel.fb meta.fb
|
$(TARGET): kernel.fb meta.fb
|
||||||
emu2 $(BASE)/8086/msdos/volks4th.com "include kernel.fb bye"
|
emu2 $(BASE)/8086/msdos/volks4th.com "include kernel.fb bye"
|
||||||
|
|
||||||
|
.PHONY: floppy
|
||||||
|
floppy:
|
||||||
|
$(BOOTPRG)/mkimg144 -bs $(BOOTPRG)/flp144.bin -o floppy.img -us $(TARGET)
|
||||||
|
|
||||||
|
.PHONY: qemu
|
||||||
|
qemu:
|
||||||
|
qemu-system-i386 -curses -drive file=floppy.img,if=floppy,format=raw
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
clean:
|
clean:
|
||||||
rm -f $(TARGET) meta.com *.fb
|
rm -f $(TARGET) meta.com *.fb
|
||||||
|
Loading…
Reference in New Issue
Block a user