]> git.sur5r.net Git - cc65/blob - libsrc/conio/Makefile
New loadable mouse drivers
[cc65] / libsrc / conio / Makefile
1 #
2 # makefile for CC65 runtime library
3 #
4
5 .SUFFIXES: .o .s .c
6
7 #--------------------------------------------------------------------------
8 # Rules
9
10 %.o:    %.c
11         @$(CC) $(CFLAGS) $<
12         @$(AS) -o $@ $(AFLAGS) $(*).s
13
14 %.o:    %.s
15         @$(AS) -g -o $@ $(AFLAGS) $<
16
17 #--------------------------------------------------------------------------
18 # Object files
19
20 OBJS =  _cursor.o       \
21         cprintf.o       \
22         cputhex.o       \
23         cputs.o         \
24         cursor.o        \
25         scrsize.o       \
26         vcprintf.o
27
28 #--------------------------------------------------------------------------
29 # Targets
30
31 .PHONY: all clean zap
32
33 all:    $(OBJS)
34
35 clean:
36         @$(RM) *~ $(OBJS)
37
38 zap:    clean
39