aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 01e1b8f2576034ca739792a46bbeb7ef3984fb90 (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
30
PARTS=memsetup.xex font_dl.xex client.xex

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

all: clean fnchat.xex
	cp fnchat.xex /var/tnfs/

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: memsetup.xex font_dl.xex
	cl65 -C src/atari.cfg -t atari -o testmain.xex src/addrs.c src/edbox.c src/screen.c src/keyclick.s uitest/test.c
	cat memsetup.xex font_dl.xex testmain.xex > test.xex