Fix distclean
[fw/sdcc] / src / clean.mk
index a083e38770df25e0fa63238e69568eab539621b4..bc083764424a77ed7bc71d5c02c50aef037e1de8 100644 (file)
@@ -4,7 +4,10 @@ clean:
        rm -f *core *[%~] *.[oa] *.output
        rm -f .[a-z]*~
        rm -f $(PRJDIR)/bin/sdcc sdcc
-       for port in $(PORTS) ; do $(MAKE) -C $$port clean; done;
+       for port in $(PORTS) ; do\
+         $(MAKE) -C $$port -f clean.mk clean ;\
+       done
+
 
 # Deleting all files created by configuring or building the program
 # -----------------------------------------------------------------