mirror of
https://github.com/hsoft/collapseos.git
synced 2024-12-27 06:18:06 +11:00
394f962510
All recipe makesfiles would previously assume a built emul/. Fixes #113
22 lines
363 B
Makefile
22 lines
363 B
Makefile
TARGET = os.bin
|
|
BASEDIR = ../..
|
|
FDIR = $(BASEDIR)/forth
|
|
EDIR = $(BASEDIR)/emul
|
|
STAGE = $(EDIR)/stage
|
|
EMUL = $(BASEDIR)/emul/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)
|