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 #--------------------------------------------------------------------------
44 #--------------------------------------------------------------------------
49 EMDS = c128-georam.emd c128-ram.emd c128-reu.emd
51 #--------------------------------------------------------------------------
54 all: $(OBJS) $(EMDS) $(TGIS)
56 ../runtime/zeropage.o:
57 $(MAKE) -C $(dir $@) $(notdir $@)