diff --git a/Makefile b/Makefile index 3775ecd996c16d..46dca45f644ce5 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ uninstall: clean: -rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) blog.html email.md - -find out/ -name '*.o' -o -name '*.a' | xargs rm -rf + @if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' | xargs rm -rf; fi -rm -rf node_modules distclean: