aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: ed90eae1008f87d5f8bbc56b01df50700017e4bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all: reloc.atr reloc25.atr

reloc25.atr: reloc.atr
	cp dos25_4drives.atr reloc25.atr
	axe -w autorun.sys reloc25.atr

reloc.atr: reloc.xex hello40.xex hello41.xex mkrelocxex.pl autorun.sys
	cp dos_20s.atr reloc.atr
	axe -w autorun.sys reloc.atr

autorun.sys: reloc.xex hello40.xex hello41.xex
	./mkrelocxex.pl hello40.xex hello41.xex autorun.sys

reloc.xex: reloc.s mkrelocxex.pl
	cl65 -t none -o reloc.xex reloc.s

hello40.xex: hello.s
	cl65 -t none -o hello40.xex --asm-define start_addr=0x4000 hello.s

hello41.xex: hello.s
	cl65 -t none -o hello41.xex --asm-define start_addr=0x4100 hello.s

clean:
	rm -f reloc.atr hello40.xex hello41.xex reloc.xex *.o