svn commit: trunk/uClibc

psm at uclibc.org psm at uclibc.org
Thu Oct 6 06:25:12 UTC 2005


Author: psm
Date: 2005-10-05 23:25:11 -0700 (Wed, 05 Oct 2005)
New Revision: 11784

Log:
Remove *.o and *.os running find only once

Modified:
   trunk/uClibc/Makefile


Changeset:
Modified: trunk/uClibc/Makefile
===================================================================
--- trunk/uClibc/Makefile	2005-10-06 04:48:18 UTC (rev 11783)
+++ trunk/uClibc/Makefile	2005-10-06 06:25:11 UTC (rev 11784)
@@ -370,8 +370,7 @@
 	@if [ -d libc/sysdeps/linux/$(TARGET_ARCH) ]; then		\
 	    $(MAKE) -C libc/sysdeps/linux/$(TARGET_ARCH) clean;		\
 	fi
-	-find . -name \*.o -exec $(RM) {} \;
-	-find . -name \*.os -exec $(RM) {} \;
+	-find . \( -name \*.o -o -name \*.os \) -exec $(RM) {} \;
 
 distclean: clean
 	-find . \( -name core -o -name \*.orig -o -name \*~ -o -name .\#\* \) -exec $(RM) {} \;




More information about the uClibc-cvs mailing list