mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-28 23:18:04 +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)
|