diff --git a/ct-ng.in b/ct-ng.in index 84f5c108..533f4ef0 100644 --- a/ct-ng.in +++ b/ct-ng.in @@ -170,13 +170,13 @@ version: PHONY += clean clean:: @$(ECHO) " CLEAN log" - $(SILENT)rm -f build.log .config.* ..config* + $(SILENT)rm -f build.log + @$(ECHO) " CLEAN build dir" + $(SILENT)[ ! -d targets ] || chmod -R u+w targets + $(SILENT)[ ! -d .build ] || chmod -R u+w .build + $(SILENT)rm -rf targets .build PHONY += distclean distclean:: clean @$(ECHO) " CLEAN .config" $(SILENT)rm -f .config .config.* ..config* - @$(ECHO) " CLEAN build dir" - $(SILENT)[ ! -d targets ] || chmod -R u+w targets - $(SILENT)[ ! -d .build ] || chmod -R u+w .build - $(SILENT)rm -rf targets .build