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