From 7290c4bb278d8755ac72443285b3e0a6e8643c5e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 19 Jun 2005 23:21:37 +0000 Subject: r7768: use _ALL_OBJS in clean target (This used to be commit e3e028a3626c37da08b69639ade5894f70eaf7d0) --- source4/build/smb_build/makefile.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source4') 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 -- cgit