1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-30 21:18:07 +11:00
collapseos/arch/z80/trs80/Makefile

20 lines
345 B
Makefile
Raw Normal View History

# See /doc/hw/z80/trs80.txt
TARGET = os.bin
BASE = ../../..
BLKPACK = $(BASE)/tools/blkpack
STAGE = $(BASE)/cvm/stage
.PHONY: all
2020-04-28 21:51:41 +10:00
all: $(TARGET)
$(TARGET): xcomp.fs $(STAGE) blkfs
cat xcomp.fs | $(STAGE) blkfs > $@
$(BLKPACK):
$(MAKE) -C ../tools
blkfs: $(BLKPACK)
$(BLKPACK) $(BASE)/blk blk > $@
$(STAGE):
$(MAKE) -C $(BASE)/cvm stage