mirror of
https://github.com/hsoft/collapseos.git
synced 2024-09-07 19:08:44 +10: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)
|