]> git.sur5r.net Git - cc65/blob - libsrc/conio/Makefile
replaced multiple lines of "rm" commands with a single "rm" line in the
[cc65] / libsrc / conio / Makefile
1 #
2 # makefile for CC65 runtime library
3 #
4
5 .SUFFIXES: .o .s .c
6
7 %.o:    %.c
8         @echo $<
9         @$(CC) $(CFLAGS) $<
10         @$(AS) -o $@ $(AFLAGS) $(*).s
11
12 %.o:    %.s
13         @echo $<
14         @$(AS) -g -o $@ $(AFLAGS) $<
15
16 C_OBJS =
17
18 S_OBJS = cputs.o cursor.o cputhex.o scrsize.o
19
20 all:    $(C_OBJS) $(S_OBJS)
21
22 clean:
23         @rm -f *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)