%.o: ../apple2/%.s
@$(AS) -g -o $@ $(AFLAGS) $<
+extra/%.o: ../apple2/extra/%.s
+ @$(AS) -g -o $@ $(AFLAGS) $<
+
%.emd: %.o ../runtime/zeropage.o
@$(LD) -t module -o $@ $^
randomize.o \
rdkey.o \
read.o \
+ reboot.o \
revers.o \
rwcommon.o \
syschdir.o \
wherey.o \
write.o
+S_EXTRA_OBJS= \
+ extra/iobuf-0800.o
+
#--------------------------------------------------------------------------
# Drivers
.PHONY: all clean zap
-all: $(C_OBJS) $(S_OBJS) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)
+all: $(C_OBJS) $(S_OBJS) $(S_EXTRA_OBJS) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)
../runtime/zeropage.o:
$(MAKE) -C $(dir $@) $(notdir $@)
clean:
- @$(RM) $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(MOUS:.mou=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o)
+ @$(RM) $(C_OBJS:.o=.s) $(C_OBJS) $(S_OBJS) $(S_EXTRA_OBJS) $(EMDS:.emd=.o) $(JOYS:.joy=.o) $(MOUS:.mou=.o) $(SERS:.ser=.o) $(TGIS:.tgi=.o)
zap: clean
@$(RM) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)