From 7628fd74440375cc18be9037d1c27e8b297ed5e0 Mon Sep 17 00:00:00 2001 From: Mark Slee Date: Thu, 18 Jan 2007 01:16:51 +0000 Subject: [PATCH] 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 --- compiler/cpp/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: -- 2.17.1