3 # makefile for CC65's console library
8 #--------------------------------------------------------------------------
13 AS = ../../src/ca65/ca65
14 CC = ../../src/cc65/cc65
15 LD = ../../src/ld65/ld65
17 AFLAGS = -t $(SYS) --forget-inc-paths -I../../asminc
18 CFLAGS = -Osir -g -T -t $(SYS) --forget-inc-paths -I . -I ../../include
20 #--------------------------------------------------------------------------
25 @$(AS) -o $@ $(AFLAGS) $(*).s
28 @$(AS) -g -o $@ $(AFLAGS) $<
30 #--------------------------------------------------------------------------
31 # Rules to help us see what code the compiler and assembler make.
34 # @$(CC) $(CFLAGS) -S $<
37 @$(AS) $(AFLAGS) -l -o /dev/null $<
39 #--------------------------------------------------------------------------
52 #--------------------------------------------------------------------------
60 @$(RM) *~ *.lst $(OBJS)