skip jemalloc clean if jemalloc's makefile was missing

This commit is contained in:
jintiao
2015-07-24 00:48:24 +08:00
parent 1da8a6b38d
commit 0ee61de22c

View File

@@ -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)