collapseos/recipes/rc2014/Makefile

22 lines
372 B
Makefile
Raw Normal View History

TARGET = stage1.bin
BASEDIR = ../..
2020-04-04 10:31:22 -04:00
FDIR = $(BASEDIR)/forth
EDIR = $(BASEDIR)/emul
2020-05-14 10:55:39 -04:00
STAGE = $(EDIR)/stage
EMUL = $(BASEDIR)/emul/hw/rc2014/classic
.PHONY: all
2020-04-02 23:21:53 -04:00
all: $(TARGET)
2020-05-14 10:55:39 -04:00
$(TARGET): xcomp.fs $(STAGE)
cat xcomp.fs | $(STAGE) > $@
2020-04-02 23:21:53 -04:00
$(SLATEST):
$(MAKE) -C $(BASEDIR)/tools
$(EMUL):
$(MAKE) -C ${@:%/classic=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)