* as/Makefile: fix target clean
[fw/sdcc] / as / z80 / clean.mk
index 5c2a90071f3c8ad2dbbc840becf162077385c36c..03e9e8daf4e8cfefe7835e61f69719b708131b90 100644 (file)
@@ -4,7 +4,8 @@ clean:
        rm -rf obj
        rm -f *core *[%~] *.[oa]
        rm -f .[a-z]*~
-       rm -f $(PRJDIR)/as-z80 as-z80 
+       rm -f $(BUILDDIR)/as-z80   as-z80
+       rm -f $(BUILDDIR)/as-gbz80 as-gbz80
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------