mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-20 20:08:06 +11:00
22 lines
353 B
Makefile
22 lines
353 B
Makefile
TARGET = os.bin
|
|
BASEDIR = ../..
|
|
CDIR = $(BASEDIR)/cvm
|
|
EDIR = $(BASEDIR)/emul
|
|
STAGE = $(CDIR)/stage
|
|
EMUL = $(EDIR)/hw/rc2014/classic
|
|
|
|
.PHONY: all
|
|
all: $(TARGET)
|
|
$(TARGET): xcomp.fs $(STAGE)
|
|
cat xcomp.fs | $(STAGE) > $@
|
|
|
|
$(STAGE):
|
|
$(MAKE) -C $(CDIR) stage
|
|
|
|
$(EMUL):
|
|
$(MAKE) -C ${@:%/classic=%}
|
|
|
|
.PHONY: emul
|
|
emul: $(EMUL) $(TARGET)
|
|
$(EMUL) $(TARGET)
|