2 # Makefile for the zlib subdirectory of the 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 #--------------------------------------------------------------------------
40 #--------------------------------------------------------------------------
45 all: $(C_OBJS) $(S_OBJS)
49 @rm -f $(C_OBJS:.o=.s)