Clean .o files in lib/ and libcli/ too.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 24 Sep 2008 14:10:34 +0000 (16:10 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 24 Sep 2008 14:10:34 +0000 (16:10 +0200)
source4/Makefile

index 3630adce56f4b36d8c7019af516c6c891ef194c2..813f0cedd4ab85fee6c5c4e24bf7778a70db925e 100644 (file)
@@ -132,6 +132,9 @@ else
 include $(srcdir)/static_deps.mk
 endif
 
+clean::
+       @find ../lib ../libcli  -name '*.o' -o -name '*.hd' | xargs rm -f
+
 DEFAULT_HEADERS = $(srcdir)/lib/util/dlinklist.h \
                  $(srcdir)/version.h