]> git.sur5r.net Git - cc65/blob - libsrc/c64/Makefile
New TGI module
[cc65] / libsrc / c64 / Makefile
1 #
2 # makefile for CC65 runtime library
3 #
4
5 .SUFFIXES: .o .s .c
6
7 %.o:    %.c
8         @$(CC) $(CFLAGS) $<
9         @$(AS) -o $@ $(AFLAGS) $(*).s
10
11 %.o:    %.s
12         @$(AS) -g -o $@ $(AFLAGS) $<
13
14 OBJS =  _scrsize.o      \
15         break.o         \
16         crt0.o          \
17         cgetc.o         \
18         clrscr.o        \
19         color.o         \
20         conio.o         \
21         cputc.o         \
22         kbhit.o         \
23         mouse.o         \
24         readjoy.o       \
25         rs232.o         \
26         tgi_mode_table.o\
27         write.o
28
29 all:    $(OBJS)
30
31 clean:
32         @rm -f $(OBJS)
33