From 0ee61de22ceb4c32a76ab26c67daef94e685d094 Mon Sep 17 00:00:00 2001 From: jintiao Date: Fri, 24 Jul 2015 00:48:24 +0800 Subject: [PATCH] skip jemalloc clean if jemalloc's makefile was missing --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 2982e62c..b92a1a33 100644 --- a/Makefile +++ b/Makefile @@ -130,7 +130,9 @@ clean : rm -f $(SKYNET_BUILD_PATH)/skynet $(CSERVICE_PATH)/*.so $(LUA_CLIB_PATH)/*.so cleanall: clean +ifneq (,$(wildcard 3rd/jemalloc/Makefile)) cd 3rd/jemalloc && $(MAKE) clean +endif cd 3rd/lua && $(MAKE) clean rm -f $(LUA_STATICLIB)