2019-04-25 16:03:45 -04:00
|
|
|
TARGET = os.bin
|
2019-12-31 15:07:39 -05:00
|
|
|
BASEDIR = ../..
|
|
|
|
ZASM = $(BASEDIR)/emul/zasm/zasm
|
|
|
|
KERNEL = $(BASEDIR)/kernel
|
|
|
|
APPS = $(BASEDIR)/apps
|
2020-01-02 16:59:38 -05:00
|
|
|
EMUL = $(BASEDIR)/emul/hw/rc2014/classic
|
2019-04-25 16:03:45 -04:00
|
|
|
|
|
|
|
.PHONY: all
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): glue.asm
|
2019-12-31 15:07:39 -05:00
|
|
|
$(ZASM) $(KERNEL) $(APPS) < glue.asm > $@
|
2020-01-02 16:59:38 -05:00
|
|
|
|
|
|
|
$(EMUL):
|
|
|
|
$(MAKE) -C ${@:%/classic=%}
|
|
|
|
|
|
|
|
.PHONY: emul
|
|
|
|
emul: $(EMUL) $(TARGET)
|
|
|
|
$(EMUL) $(TARGET)
|
|
|
|
|