1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-10 02:38:05 +11:00
collapseos/recipes/trs80/Makefile

19 lines
314 B
Makefile

TARGET = os.bin
BASE = ../..
BLKPACK = $(BASE)/tools/blkpack
STAGE = $(BASE)/cvm/stage
.PHONY: all
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