2020-05-14 22:15:31 -04:00
|
|
|
TARGET = os.bin
|
|
|
|
STAGE = ../../emul/stage
|
|
|
|
EMUL = ../../emul/hw/sms/sms
|
2019-07-01 11:05:25 -04:00
|
|
|
|
|
|
|
.PHONY: all
|
2020-05-14 22:15:31 -04:00
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): xcomp.fs $(STAGE)
|
|
|
|
cat xcomp.fs | $(STAGE) > $@
|
|
|
|
|
|
|
|
$(EMUL):
|
|
|
|
$(MAKE) -C ${@:%/sms=%}
|
|
|
|
|
|
|
|
.PHONY: emul
|
|
|
|
emul: $(EMUL) $(TARGET)
|
|
|
|
$(EMUL) $(TARGET)
|
|
|
|
|