collapseos/recipes/sms/romasm/Makefile

21 lines
470 B
Makefile
Raw Normal View History

2019-07-21 15:37:03 -04:00
ZASM = ../../../tools/zasm.sh
KERNEL = ../../../kernel
APPS = ../../../apps
.PHONY: all clean
all: os.sms
2019-07-21 15:37:03 -04:00
# -o value synced with offset in glue.asm
2019-07-21 15:37:03 -04:00
ed.bin: $(APPS)/ed/glue.asm
$(ZASM) -o 19 $(KERNEL) $(APPS) user.h < $< > $@
2019-07-21 15:37:03 -04:00
# -o value synced with offset in glue.asm
2019-07-21 15:37:03 -04:00
zasm.bin: $(APPS)/zasm/glue.asm
$(ZASM) -o 1d $(KERNEL) $(APPS) user.h < $< > $@
2019-07-21 15:37:03 -04:00
os.sms: glue.asm ed.bin zasm.bin
$(ZASM) $(KERNEL) ed.bin zasm.bin < $< > $@
clean:
rm -f os.sms ed.bin zasm.bin