aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 42d5957d78a8ad2148ee99472c7a222b9774648e (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
25
26
27
28
29
PARTS=memsetup.xex font_dl.xex client.xex

# remove the -a if using older versions of atasm
ATASM=atasm -s -a

all: fnchat.xex

fnchat.xex: $(PARTS)
	cat $(PARTS) > fnchat.xex

client.xex: client

client:
	$(MAKE) -f Makefile.client

clean:
	rm -f $(PARTS) *.o
	$(MAKE) -f Makefile.client clean

%.xex: %.asm
	$(ATASM) -o$@ $<

memsetup.xex: memsetup.asm

font_dl.xex: font_dl.asm font.dat

test:
	cl65 -C src/atari.cfg -t atari -o testmain.xex src/addrs.c src/edbox.c src/screen.c uitest/test.c
	cat memsetup.xex font_dl.xex testmain.xex > test.xex