diff --git a/Makefile.include b/Makefile.include index 5f0ecc57c..86ebb3150 100644 --- a/Makefile.include +++ b/Makefile.include @@ -183,7 +183,7 @@ clean: -rm -rf $(OBJECTDIR) distclean: clean - -rm -rf $(CONTIKI_PROJECT).$(TARGET) + -rm -f ${addsuffix .$(TARGET),$(CONTIKI_PROJECT)} -include $(CONTIKI)/platform/$(TARGET)/Makefile.customrules-$(TARGET)