]> git.sur5r.net Git - cc65/blobdiff - libsrc/apple2/Makefile
Build files in the extra directory.
[cc65] / libsrc / apple2 / Makefile
index 802c404f5868de9fb72984a4af43d4aec55b928a..0e56aa839f7e7f72e428baaa4dbee5ae075a970d 100644 (file)
@@ -107,6 +107,9 @@ S_OBJS=     _scrsize.o      \
                wherey.o        \
        write.o
 
+S_EXTRA_OBJS=                  \
+       extra/iobuf-0800.o
+
 #--------------------------------------------------------------------------
 # Drivers
 
@@ -131,7 +134,7 @@ all:        $(C_OBJS) $(S_OBJS) $(EMDS) $(JOYS) $(MOUS) $(SERS) $(TGIS)
        $(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)