]> git.sur5r.net Git - cc65/blob - libsrc/atmos/Makefile
New module fileio-test.c
[cc65] / libsrc / atmos / 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 C_OBJS =
15
16 S_OBJS  =       crt0.o          \
17                 systime.o
18
19 all:    $(C_OBJS) $(S_OBJS)
20
21 clean:
22         @rm -f $(C_OBJS:.c=.s) $(C_OBJS) $(S_OBJS)
23