view Makefile @ 0:605ff82c4618

Initial check in with cleaned up sources This is the initial check in the source code in a state where it builds byte accurate copies of all the various ROM versions included.
author William Astle <lost@l-w.ca>
date Sat, 08 Dec 2018 19:57:01 -0700
parents
children
line wrap: on
line source

LWASM=lwasm

.PHONY: all
all: defs.list bas10.rom bas11.rom bas12.rom bas13.rom exbas10.rom exbas11.rom disk10.rom disk11.rom secb.rom

bas10.rom bas10.list: bas10.s defs.s
	$(LWASM) --raw --list=bas10.list --symbols -o bas10.rom bas10.s

bas11.rom bas11.list: bas11.s defs.s
	$(LWASM) --raw --list=bas11.list --symbols -o bas11.rom bas11.s

bas12.rom bas12.list: bas12.s defs.s
	$(LWASM) --raw --list=bas12.list --symbols -o bas12.rom bas12.s

bas13.rom bas13.list: bas13.s defs.s
	$(LWASM) --raw --list=bas13.list --symbols -o bas13.rom bas13.s

exbas10.rom exbas10.list: exbas10.s defs.s
	$(LWASM) --raw --list=exbas10.list --symbols -o exbas10.rom exbas10.s

exbas11.rom exbas11.list: exbas11.s defs.s
	$(LWASM) --raw --list=exbas11.list --symbols -o exbas11.rom exbas11.s

disk10.rom disk10.list: disk.s defs.s
	$(LWASM) --raw --list=disk10.list --symbols -DDISKVER=0 -o disk10.rom disk.s

disk11.rom disk11.list: disk.s defs.s
	$(LWASM) --raw --list=disk11.list --symbols -DDISKVER=1 -o disk11.rom disk.s

secb.rom secb.list: secb.s defs.s
	$(LWASM) --raw --list=secb.list --symbols -o secb.rom secb.s

defs.list: defs.s
	$(LWASM) --list=defs.list -o defs.bin defs.s
	rm -f defs.bin

.PHONY: clean
clean:
	rm -f *.rom *.list *~