]> git.sur5r.net Git - cc65/blob - libsrc/conio/Makefile
6b2262371523b4244c1ea6759c9838c404716f0b
[cc65] / libsrc / conio / 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 =  _cursor.o       \
15         cputhex.o       \
16         cputs.o         \
17         cursor.o        \
18         scrsize.o
19
20 all:    $(OBJS)
21
22 clean:
23         @rm -f *~ $(OBJS)