2020-04-13 11:35:47 -04:00
|
|
|
TARGET = stage1.bin
|
2019-12-31 15:07:39 -05:00
|
|
|
BASEDIR = ../..
|
2020-04-04 10:31:22 -04:00
|
|
|
FDIR = $(BASEDIR)/forth
|
2020-04-24 17:53:58 -04:00
|
|
|
EDIR = $(BASEDIR)/emul
|
2020-04-04 10:31:22 -04:00
|
|
|
STAGE2 = $(EDIR)/stage2
|
2020-01-02 16:59:38 -05:00
|
|
|
EMUL = $(BASEDIR)/emul/hw/rc2014/classic
|
2020-04-11 15:11:36 -04:00
|
|
|
|
2019-04-25 16:03:45 -04:00
|
|
|
.PHONY: all
|
2020-04-02 23:21:53 -04:00
|
|
|
all: $(TARGET)
|
2020-04-26 14:37:54 -04:00
|
|
|
$(TARGET): xcomp.fs $(STAGE2)
|
2020-04-23 15:14:14 -04:00
|
|
|
cat xcomp.fs | $(STAGE2) > $@
|
2020-04-02 23:21:53 -04:00
|
|
|
|
|
|
|
$(SLATEST):
|
|
|
|
$(MAKE) -C $(BASEDIR)/tools
|
2020-01-02 16:59:38 -05:00
|
|
|
|
|
|
|
$(EMUL):
|
|
|
|
$(MAKE) -C ${@:%/classic=%}
|
|
|
|
|
|
|
|
.PHONY: emul
|
|
|
|
emul: $(EMUL) $(TARGET)
|
|
|
|
$(EMUL) $(TARGET)
|