From 02c1cb54aa250163918e884e604981c2a05ed3f2 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 8 Feb 2012 09:59:31 -0800 Subject: [PATCH] Makefile: Don't use ** in globs Many shells don't have GLOBSTAR turned on by default. This is why uv and v8 so often don't get cleaned out properly. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0db2d357490..9ab1da2f3b9 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,8 @@ uninstall: out/Release/node tools/installer.js ./config.gypi uninstall clean: - -rm -rf out/Makefile node node_g out/**/*.o out/**/*.a out/$(BUILDTYPE)/node + -rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node + -find out/ -name '*.o' -o -name '*.a' | xargs rm -rf distclean: -rm -rf out