Add mkdir for bin in thrift compiler
authorMark Slee <mcslee@apache.org>
Thu, 18 Jan 2007 01:16:51 +0000 (01:16 +0000)
committerMark Slee <mcslee@apache.org>
Thu, 18 Jan 2007 01:16:51 +0000 (01:16 +0000)
Reviewed By: dcorson

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664922 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/Makefile

index b20ec3b..3d405a1 100644 (file)
@@ -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: