From: Mark Slee Date: Thu, 18 Jan 2007 01:16:51 +0000 (+0000) Subject: Add mkdir for bin in thrift compiler X-Git-Tag: 0.2.0~1550 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=7628fd74440375cc18be9037d1c27e8b297ed5e0;p=common%2Fthrift.git Add mkdir for bin in thrift compiler Reviewed By: dcorson git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664922 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/Makefile b/compiler/cpp/Makefile index b20ec3b9..3d405a1b 100644 --- a/compiler/cpp/Makefile +++ b/compiler/cpp/Makefile @@ -65,7 +65,9 @@ CFL = -g -Wall -I$(SRC_DIR) -I$(OBJ_DIR) LIBS = -lfl # Build directories -obj_dirs: $(OBJ_DIR)parse $(OBJ_DIR)generate +obj_dirs: $(BIN_DIR) $(OBJ_DIR)parse $(OBJ_DIR)generate +$(BIN_DIR): + $(MKDIR) -p $(BIN_DIR) $(OBJ_DIR)parse: $(MKDIR) -p $(OBJ_DIR)parse $(OBJ_DIR)generate: