1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-08 21:38:05 +11:00
collapseos/recipes/rc2014/Makefile
2020-06-26 21:23:13 -04:00

21 lines
338 B
Makefile

TARGET = os.bin
BASEDIR = ../..
EDIR = $(BASEDIR)/emul
STAGE = $(BASEDIR)/cvm/stage
EMUL = $(EDIR)/hw/rc2014/classic
.PHONY: all
all: $(TARGET)
$(TARGET): xcomp.fs $(STAGE)
cat xcomp.fs | $(STAGE) > $@
$(STAGE):
$(MAKE) -C $(EDIR) stage
$(EMUL):
$(MAKE) -C ${@:%/classic=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)