mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-26 17:08:05 +11:00
b3e865d0fb
Much faster!
21 lines
338 B
Makefile
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)
|