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

17 lines
252 B
Makefile
Raw Normal View History

2020-05-15 12:15:31 +10:00
TARGET = os.bin
STAGE = ../../emul/stage
EMUL = ../../emul/hw/sms/sms
.PHONY: all
2020-05-15 12:15:31 +10:00
all: $(TARGET)
$(TARGET): xcomp.fs $(STAGE)
cat xcomp.fs | $(STAGE) > $@
$(EMUL):
$(MAKE) -C ${@:%/sms=%}
.PHONY: emul
emul: $(EMUL) $(TARGET)
$(EMUL) $(TARGET)