-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (31 loc) · 1.39 KB
/
Makefile
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
.PHONY: all clean run
D64_IMAGE = "bin/batalyx.d64"
X64 = x64
X64SC = x64sc
C1541 = c1541
all: clean d64 run
original: clean d64_orig run_orig
batalyx.prg: src/batalyx.asm
64tass -Wall -Wno-implied-reg --cbm-prg -o bin/bx.prg -L bin/list-co1.txt -l bin/labels.txt src/batalyx.asm
64tass -Wall -Wno-implied-reg --cbm-prg -o bin/titlescreen-bitmap.prg src/titlescreen-bitmap-2.asm
exomizer sfx sys bin/bx.prg bin/titlescreen-bitmap.prg,0xe000 -n -o bin/batalyx.prg
echo "0fb4cf9d12365768973dfd2ac7f21c18 bin/bx.prg" | md5sum -c
echo "b01cdb8a755cadbb57b1151807df1606 bin/titlescreen-bitmap.prg" | md5sum -c
batalyx-makeonly.prg: src/batalyx.asm
64tass -Wall -Wno-implied-reg --cbm-prg -o bin/bx.prg -L bin/list-co1.txt -l bin/labels.txt src/batalyx.asm
64tass -Wall -Wno-implied-reg --cbm-prg -o bin/titlescreen-bitmap.prg src/titlescreen-bitmap-2.asm
echo "0fb4cf9d12365768973dfd2ac7f21c18 bin/bx.prg" | md5sum -c
echo "b01cdb8a755cadbb57b1151807df1606 bin/titlescreen-bitmap.prg" | md5sum -c
batalyx-vsf.prg: src/batalyx.tas
64tass -Wall -Wno-implied-reg --cbm-prg -o bin/batalyx-vsf.prg -L bin/list-co1.txt -l bin/labels.txt src/batalyx.tas
d64: batalyx.prg
$(C1541) -format "batalyx,rq" d64 $(D64_IMAGE)
$(C1541) $(D64_IMAGE) -write bin/batalyx.prg "batalyx"
$(C1541) $(D64_IMAGE) -list
run: d64
$(X64) -verbose $(D64_IMAGE)
run: d64
clean:
-rm $(D64_IMAGE)
-rm bin/batalyx.prg
-rm bin/*.txt