2020-10-31 11:31:47 +11:00
|
|
|
# See /doc/hw/z80/trs80.txt
|
2020-05-15 02:08:17 +10:00
|
|
|
TARGET = os.bin
|
2020-10-31 11:31:47 +11:00
|
|
|
BASE = ../../..
|
2020-09-21 01:57:04 +10:00
|
|
|
BLKPACK = $(BASE)/tools/blkpack
|
|
|
|
STAGE = $(BASE)/cvm/stage
|
2020-02-13 02:20:47 +11:00
|
|
|
|
|
|
|
.PHONY: all
|
2020-04-28 21:51:41 +10:00
|
|
|
all: $(TARGET)
|
2020-09-21 01:57:04 +10:00
|
|
|
$(TARGET): xcomp.fs $(STAGE) blkfs
|
|
|
|
cat xcomp.fs | $(STAGE) blkfs > $@
|
|
|
|
|
|
|
|
$(BLKPACK):
|
|
|
|
$(MAKE) -C ../tools
|
|
|
|
|
|
|
|
blkfs: $(BLKPACK)
|
|
|
|
$(BLKPACK) $(BASE)/blk blk > $@
|
2020-06-12 02:23:59 +10:00
|
|
|
|
|
|
|
$(STAGE):
|
2020-09-21 01:57:04 +10:00
|
|
|
$(MAKE) -C $(BASE)/cvm stage
|