summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/smb_build/makefile.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index 74d87fad31..aba23be2eb 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -513,8 +513,10 @@ proto_test:
@[ -f $(builddir)/include/proto.h ] || $(MAKE) proto
clean: delheaders
- -rm -f *.o */*.o */*/*.o */*/*/*.o bin/* bin/.*_*
- -rm -rf librpc/gen_*
+ @echo Removing objects and binaries
+ @-rm -f $(_ALL_OBJS_OBJS) bin/* bin/.*_*
+ @echo Removing generated files
+ @-rm -rf librpc/gen_*
distclean: clean
-rm -f bin/.dummy