1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-27 19:18:06 +11:00
collapseos/recipes/rc2014/Makefile

29 lines
470 B
Makefile
Raw Normal View History

TARGET = os.bin
BASE = ../..
CDIR = $(BASE)/cvm
EDIR = $(BASE)/emul
STAGE = $(CDIR)/stage
BLKPACK = $(BASE)/tools/blkpack
EMUL = $(EDIR)/hw/rc2014/classic
.PHONY: all
2020-04-03 14:21:53 +11:00
all: $(TARGET)
$(TARGET): xcomp.fs $(STAGE) blkfs
$(STAGE) blkfs < xcomp.fs > $@
$(BLKPACK):
$(MAKE) -C ../tools
blkfs: $(BLKPACK)
$(BLKPACK) $(BASE)/blk blk > $@
2020-04-03 14:21:53 +11:00
$(STAGE):
$(MAKE) -C $(CDIR) stage
$(EMUL):
$(MAKE) -C ${@:%/classic=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)