Makefile
changeset 268 1eba01e3fb70
parent 243 bdfee1f5be9e
child 279 c0453b7f99df
--- a/Makefile	Mon Apr 04 10:42:03 2011 +0100
+++ b/Makefile	Mon Apr 04 10:48:30 2011 +0100
@@ -24,7 +24,7 @@
 	-rm -f iec2iec iec2c *.o absyntax/*.o
 	echo > Makefile.depend
 # make something everywhere (ie, in all Makefiles that have that target)
-	find . -depth -mindepth 2 -maxdepth 2 -name Makefile -printf %h\\n | xargs -i make -C{} $@
+	find . -depth -mindepth 2 -maxdepth 2 -name Makefile | sed 's/Makefile//g' | xargs -I {} make -C{} clean
 
 CXXFLAGS += -I.