From 068f885d8f1247fc06eae8d66823d5481fedf646 Mon Sep 17 00:00:00 2001 From: zsx Date: Mon, 25 Dec 2017 10:27:46 +0800 Subject: [PATCH] fiber's Makefile should mkdir debug automaticlly --- lib_fiber/cpp/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_fiber/cpp/Makefile b/lib_fiber/cpp/Makefile index 8cb1b9708..502a9cdbe 100644 --- a/lib_fiber/cpp/Makefile +++ b/lib_fiber/cpp/Makefile @@ -138,6 +138,8 @@ SHARED_OLD_LIBNAME = lib_fiber_cpp.so lib: static all: static shared sample +$(shell mkdir -p $(OBJ_PATH_DST)) + COMPILE = $(CC) $(CFLAGS) COMPILE_OBJ = @(echo 'building $<'; $(COMPILE) $< -o $@) CREATE_DEF = @(echo 'creating $@'; rm -f $@; \