-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
55 lines (38 loc) · 1.24 KB
/
Makefile
File metadata and controls
55 lines (38 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
CFLAGS=-Wall
VERSION=1.2
all: zeugma.ssd
#zeugma-c64-reu-${VERSION}.prg zeugma-c64-reu-widehack-${VERSION}.prg
zeugma-beeb: zeugma.s.beeb
xa -DMASTER=0 -DTUBE=0 -o $@ -l mapfile.beeb $<
zeugma-tube: zeugma.s.beeb
xa -DMASTER=0 -DTUBE=1 -o $@ -l mapfile.tube $<
zeugma-master: zeugma.s.beeb
xa -DMASTER=1 -DTUBE=0 -o $@ -l mapfile.master $<
boot: boot.s
xa -o $@ $<
plot2.ssd: plot
rm -f $@
perl -pe 's/\n/\r/g' <plot >plot2
bbcim -a plot2.ssd plot2
bbcim -a plot2.ssd chars
bbcim -a plot2.ssd widths
scroll.ssd: scroll
rm -f $@
perl -pe 's/\n/\r/g' <scroll >scroll2
bbcim -a scroll.ssd scroll2
dis-c64:
dxa -a dump -l mapfile.c64 zeugma-c64-reu-1.2.prg
dis-beeb:
dxa -g 1400 -a dump -l mapfile.beeb zeugma-beeb
zeugma.ssd: zeugma-beeb zeugma-tube zeugma-master boot
rm -f $@
bbcim -a zeugma.ssd game $+
bbcim -boot zeugma.ssd RUN
zeugma-c64-reu-${VERSION}.prg: zeugma.s font.bin zeugma.bin
xa -DWIDEHACK=0 -o $@ -l mapfile $<
zeugma-c64-reu-widehack-${VERSION}.prg: zeugma.s font.bin zeugma.bin
xa -DWIDEHACK=1 -o $@ -l mapfile $<
font.bin: clR6x8.bdf mkfont
./mkfont <$< >$@
zeugma.bin: zeugma.ppm mklogo
./mklogo <$< >$@