2 # makefile for CC65 runtime library
7 #--------------------------------------------------------------------------
12 AS = ../../src/ca65/ca65
13 CC = ../../src/cc65/cc65
14 LD = ../../src/ld65/ld65
16 AFLAGS = -t $(SYS) -I../../asminc
17 CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
19 #--------------------------------------------------------------------------
24 @$(AS) -g -o $@ $(AFLAGS) $(*).s
27 @$(AS) -g -o $@ $(AFLAGS) $<
29 #--------------------------------------------------------------------------
34 S_OBJS = asmtab.o dbgdasm.o dbgdump.o dbgisram.o dbgsupp.o
36 #--------------------------------------------------------------------------
41 all: $(C_OBJS) $(S_OBJS)
44 @$(RM) *~ $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS)