Permalink
Browse files

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.
  • Loading branch information...
1 parent 9a6012e commit 02c1cb54aa250163918e884e604981c2a05ed3f2 @isaacs isaacs committed Feb 8, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 Makefile
View
@@ -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

0 comments on commit 02c1cb5

Please sign in to comment.