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