]> git.sur5r.net Git - cc65/blob - libsrc/dbg/Makefile
Use the condes feature
[cc65] / libsrc / dbg / Makefile
1 #
2 # makefile for CC65 runtime library
3 #
4
5 .SUFFIXES: .o .s .c
6
7 %.o:    %.c
8         @$(CC) $(CFLAGS) $<
9         @$(AS) -g -o $@ $(AFLAGS) $(*).s
10
11 %.o:    %.s
12         @$(AS) -g -o $@ $(AFLAGS) $<
13
14 C_OBJS = dbg.o
15
16 S_OBJS = asmtab.o dbgdasm.o dbgdump.o dbgisram.o dbgsupp.o
17
18 all:    $(C_OBJS) $(S_OBJS)
19
20 clean:
21         @rm -f *~
22         @rm -f $(C_OBJS:.o=.s)
23         @rm -f $(C_OBJS)
24         @rm -f $(S_OBJS)