mirror of
https://github.com/hsoft/collapseos.git
synced 2024-11-30 22:38:09 +11:00
17 lines
252 B
Makefile
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)
|
|
|