mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-27 21:28:05 +11:00
0703da928e
It's now much easier...
22 lines
368 B
Makefile
22 lines
368 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) > $@
|
|
|
|
$(SLATEST):
|
|
$(MAKE) -C $(BASEDIR)/tools
|
|
|
|
$(EMUL):
|
|
$(MAKE) -C ${@:%/classic=%}
|
|
|
|
.PHONY: emul
|
|
emul: $(EMUL) $(TARGET)
|
|
$(EMUL) $(TARGET)
|