1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-24 05:58:06 +11:00
collapseos/recipes/rc2014/Makefile

22 lines
376 B
Makefile
Raw Normal View History

TARGET = stage1.bin
BASEDIR = ../..
2020-04-05 01:31:22 +11:00
FDIR = $(BASEDIR)/forth
EDIR = $(BASEDIR)/emul
2020-04-05 01:31:22 +11:00
STAGE2 = $(EDIR)/stage2
EMUL = $(BASEDIR)/emul/hw/rc2014/classic
.PHONY: all
2020-04-03 14:21:53 +11:00
all: $(TARGET)
2020-04-27 04:37:54 +10:00
$(TARGET): xcomp.fs $(STAGE2)
cat xcomp.fs | $(STAGE2) > $@
2020-04-03 14:21:53 +11:00
$(SLATEST):
$(MAKE) -C $(BASEDIR)/tools
$(EMUL):
$(MAKE) -C ${@:%/classic=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)