buildsystem,makefiles,tarball: improve distclean targets to remove .configs/, *.ews...
[sdk] / compiler / libec / Makefile.bootstrap
index 93d74f1..0227592 100644 (file)
@@ -259,5 +259,9 @@ clean: cleantarget
 realclean: cleantarget
        $(call rmr,$(OBJ))
 
-distclean: cleantarget
-       $(call rmr,obj/)
+distclean:
+       $(_MAKE) -f $(_CF_DIR)Cleanfile distclean distclean_all_subdirs
+
+Makefile.bootstrap: ;
+$(_CF_DIR)crossplatform.mk: ;
+$(_CF_DIR)$(TARGET_PLATFORM)-$(COMPILER).cf: ;