]> git.sur5r.net Git - cc65/blob - libsrc/atari/Makefile
added remove.o and rs232.o
[cc65] / libsrc / atari / Makefile
1 #
2 # makefile for CC65 Atari runtime library
3 #
4 # NUMDRVS - number of supported drives (max. 16)
5
6 ATARIDEFS = -DNUMDRVS=4
7
8 .SUFFIXES: .o .s .c
9
10 %.o:    %.c
11         @$(CC) $(CFLAGS) $(ATARIDEFS) $<
12         @$(AS) -o $@ $(AFLAGS) $(*).s
13
14 %.o:    %.s
15         @$(AS) -g -o $@ $(AFLAGS) $(ATARIDEFS) $<
16
17 OBJS =  _scrsize.o   \
18         break.o      \
19         cclear.o     \
20         cgetc.o      \
21         chline.o     \
22         clock.o      \
23         close.o      \
24         clrscr.o     \
25         color.o      \
26         cputc.o      \
27         crt0.o       \
28         ctype.o      \
29         cvline.o     \
30         dio_cts.o    \
31         dio_stc.o    \
32         diopncls.o   \
33         dioread.o    \
34         diowrite.o   \
35         diowritev.o  \
36         fdtable.o    \
37         getargs.o    \
38         getfd.o      \
39         gotox.o      \
40         gotoy.o      \
41         gotoxy.o     \
42         graphics.o   \
43         graphuse.o   \
44         kbhit.o      \
45         lseek.o      \
46         mouse.o      \
47         mul40.o      \
48         open.o       \
49         oserror.o    \
50         ostype.o     \
51         read.o       \
52         readjoy.o    \
53         remove.o     \
54         revers.o     \
55         rs232.o      \
56         rwcommon.o   \
57         savevec.o    \
58         scroll.o     \
59         setcolor.o   \
60         siocall.o    \
61         tvtype.o     \
62         where.o      \
63         write.o
64
65
66 all:    $(OBJS)
67
68 clean:
69         @rm -f $(OBJS)
70