summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-19 23:21:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:33 -0500
commit7290c4bb278d8755ac72443285b3e0a6e8643c5e (patch)
treedf13a678d6bb7349624bdf4661785327e30dc5fa
parentc4e7c6e2daf20f721c51e56bf90ac3856c30d954 (diff)
downloadsamba-7290c4bb278d8755ac72443285b3e0a6e8643c5e.tar.gz
samba-7290c4bb278d8755ac72443285b3e0a6e8643c5e.tar.bz2
samba-7290c4bb278d8755ac72443285b3e0a6e8643c5e.zip
r7768: use _ALL_OBJS in clean target
(This used to be commit e3e028a3626c37da08b69639ade5894f70eaf7d0)
-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