1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-09 12:28:05 +11:00
collapseos/recipes/rc2014/Makefile

22 lines
353 B
Makefile
Raw Normal View History

TARGET = os.bin
BASEDIR = ../..
CDIR = $(BASEDIR)/cvm
EDIR = $(BASEDIR)/emul
STAGE = $(CDIR)/stage
EMUL = $(EDIR)/hw/rc2014/classic
.PHONY: all
2020-04-03 14:21:53 +11:00
all: $(TARGET)
2020-05-15 00:55:39 +10:00
$(TARGET): xcomp.fs $(STAGE)
cat xcomp.fs | $(STAGE) > $@
2020-04-03 14:21:53 +11:00
$(STAGE):
$(MAKE) -C $(CDIR) stage
$(EMUL):
$(MAKE) -C ${@:%/classic=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)