comparison Makefile @ 90:f1d847f69c0d

Add target for explicit coco1 for MAME rules Mame seems to have removed the coco2 machine target. Add an additional coco1 set of targets that uses the bare "coco" machine.
author William Astle <lost@l-w.ca>
date Tue, 17 Oct 2023 17:03:17 -0600
parents bb50ac9fdf37
children a6a53e5c04bd
comparison
equal deleted inserted replaced
89:f519075cc164 90:f1d847f69c0d
1 .PHONY: all 1 .PHONY: all
2 all: bin/lwbasic.rom bin/lwbasic-coco2b.rom bin/lwbasic-coco3.rom bin/coco2.zip bin/coco2b.zip bin/coco3.zip 2 all: bin/lwbasic.rom bin/lwbasic-coco2b.rom bin/lwbasic-coco3.rom bin/coco.zip bin/coco2.zip bin/coco2b.zip bin/coco3.zip
3 3
4 lwb_srcs := consscr.s defs.s error.s expr.s fps.s genio.s init.s int.s interp.s irq.s keyb.s keywords.s miscdata.s number.s print.s progctrl.s token.s vars.s 4 lwb_srcs := consscr.s defs.s error.s expr.s fps.s genio.s init.s int.s interp.s irq.s keyb.s keywords.s miscdata.s number.s print.s progctrl.s token.s vars.s
5 lwb_srcs := $(addprefix src/,$(lwb_srcs)) 5 lwb_srcs := $(addprefix src/,$(lwb_srcs))
6 6
7 bin/lwbasic.rom: src/lwbasic.s $(lwb_srcs) 7 bin/lwbasic.rom: src/lwbasic.s $(lwb_srcs)
24 dd if=bin/lwbasic.rom of=coco2/bas12.rom bs=1024 count=8 skip=8 24 dd if=bin/lwbasic.rom of=coco2/bas12.rom bs=1024 count=8 skip=8
25 dd if=bin/lwbasic.rom of=coco2/disk11.rom bs=1024 count=16 skip=16 25 dd if=bin/lwbasic.rom of=coco2/disk11.rom bs=1024 count=16 skip=16
26 zip bin/coco2.zip coco2/extbas11.rom coco2/bas12.rom coco2/disk11.rom 26 zip bin/coco2.zip coco2/extbas11.rom coco2/bas12.rom coco2/disk11.rom
27 rm -rf coco2 27 rm -rf coco2
28 28
29 bin/coco.zip: bin/lwbasic.rom
30 mkdir -p coco
31 rm -f coco/* coco.zip
32 dd if=bin/lwbasic.rom of=coco/extbas11.rom bs=1024 count=8
33 dd if=bin/lwbasic.rom of=coco/bas12.rom bs=1024 count=8 skip=8
34 dd if=bin/lwbasic.rom of=coco/disk11.rom bs=1024 count=16 skip=16
35 zip bin/coco.zip coco/extbas11.rom coco/bas12.rom coco/disk11.rom
36 rm -rf coco
37
29 bin/coco2b.zip: bin/lwbasic-coco2b.rom 38 bin/coco2b.zip: bin/lwbasic-coco2b.rom
30 mkdir -p coco2b 39 mkdir -p coco2b
31 rm -f coco2b/* coco2b.zip 40 rm -f coco2b/* coco2b.zip
32 dd if=bin/lwbasic-coco2b.rom of=coco2b/extbas11.rom bs=1024 count=8 41 dd if=bin/lwbasic-coco2b.rom of=coco2b/extbas11.rom bs=1024 count=8
33 dd if=bin/lwbasic-coco2b.rom of=coco2b/bas13.rom bs=1024 count=8 skip=8 42 dd if=bin/lwbasic-coco2b.rom of=coco2b/bas13.rom bs=1024 count=8 skip=8
41 dd if=bin/lwbasic-coco3.rom of=coco3/coco3.rom bs=1024 count=32 50 dd if=bin/lwbasic-coco3.rom of=coco3/coco3.rom bs=1024 count=32
42 dd if=/dev/null of=coco3/disk11.rom bs=1024 count=8 51 dd if=/dev/null of=coco3/disk11.rom bs=1024 count=8
43 zip bin/coco3.zip coco3/coco3.rom coco3/disk11.rom 52 zip bin/coco3.zip coco3/coco3.rom coco3/disk11.rom
44 rm -rf coco3 53 rm -rf coco3
45 54
46 .PHONY: mame2 mame2d 55 .PHONY: mame1 mame1d mame2 mame2d
56 mame1: bin/coco.zip
57 mame coco -skip_gameinfo -rompath ./bin
58 mame1d: bin/coco.zip
59 mame coco -skip_gameinfo -rompath ./bin -debug
60
47 mame2: bin/coco2.zip 61 mame2: bin/coco2.zip
48 mame coco2 -skip_gameinfo -rompath ./bin 62 mame coco2 -skip_gameinfo -rompath ./bin
49 mame2d: bin/coco2.zip 63 mame2d: bin/coco2.zip
50 mame coco2 -skip_gameinfo -rompath ./bin -debug 64 mame coco2 -skip_gameinfo -rompath ./bin -debug
51 65