2 # makefile for CC65 runtime library
7 #--------------------------------------------------------------------------
12 @$(AS) -o $@ $(AFLAGS) $(*).s
15 @$(AS) -g -o $@ $(AFLAGS) $<
17 %.emd: %.o ../runtime/zeropage.o
18 @$(LD) -t module -o $@ $^
20 %.tgi: %.o ../runtime/zeropage.o
21 @$(LD) -t module -o $@ $^
23 #--------------------------------------------------------------------------
43 #--------------------------------------------------------------------------
48 EMDS = c128-georam.emd c128-ram.emd c128-reu.emd
50 #--------------------------------------------------------------------------
53 all: $(OBJS) $(EMDS) $(TGIS)
55 ../runtime/zeropage.o:
56 $(MAKE) -C $(dir $@) $(notdir $@)