1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 22:30:54 +11:00
collapseos/recipes/sms/Makefile
Virgil Dupras 43eabf566b sms: WIP !
2020-05-14 22:15:31 -04:00

17 lines
252 B
Makefile

TARGET = os.bin
STAGE = ../../emul/stage
EMUL = ../../emul/hw/sms/sms
.PHONY: all
all: $(TARGET)
$(TARGET): xcomp.fs $(STAGE)
cat xcomp.fs | $(STAGE) > $@
$(EMUL):
$(MAKE) -C ${@:%/sms=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)