]> granicus.if.org Git - nethack/commitdiff
Added NH_INC_DIR to xcode project build settings.
authorBart House <bart@barthouse.com>
Mon, 19 Nov 2018 20:13:58 +0000 (12:13 -0800)
committerBart House <bart@barthouse.com>
Mon, 19 Nov 2018 20:13:58 +0000 (12:13 -0800)
sys/unix/NetHack.xcodeproj/project.pbxproj

index 0ea72156e82569af65e6503ced18af621075d8b5..e70743c343974b4ebb7f3734fcb0210e6f01d651 100644 (file)
                        outputFileListPaths = (
                        );
                        outputPaths = (
-                               "${SOURCE_ROOT}/../../util/makedefs",
-                               "$(SOURCE_ROOT}/../../inlcude/date.h",
-                               "$(SOURCE_ROOT}/../../dat/options",
+                               "$(NH_UTIL_DIR)/makedefs",
+                               "$(NH_INC_DIR)/date.h",
+                               "$(NH_DAT_DIR)/options",
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "# Type a script or drag a script file from your workspace to insert its path\ncd ${SOURCE_ROOT}/../../util\n\ncp ${BUILT_PRODUCTS_DIR}/makedefs .\n\n# Make dat/options\n# This also will generate include/date.h\n\n./makedefs -v\n";
+                       shellScript = "# Type a script or drag a script file from your workspace to insert its path\ncd ${NH_UTIL_DIR}\n\ncp ${BUILT_PRODUCTS_DIR}/makedefs .\n\n# Make dat/options\n# This also will generate include/date.h\n\n./makedefs -v\n";
                };
                319CBA3821A3458100150830 /* ShellScript */ = {
                        isa = PBXShellScriptBuildPhase;
                                MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
                                MTL_FAST_MATH = YES;
                                NH_DAT_DIR = "$(SOURCE_ROOT)/../../dat";
+                               NH_INC_DIR = "$(SOURCE_ROOT)/../../include";
                                NH_ROOT = "$(SOURCE_ROOT)/../..";
                                NH_UTIL_DIR = "$(SOURCE_ROOT)/../../util";
                                ONLY_ACTIVE_ARCH = YES;
                                MTL_ENABLE_DEBUG_INFO = NO;
                                MTL_FAST_MATH = YES;
                                NH_DAT_DIR = "$(SOURCE_ROOT)/../../dat";
+                               NH_INC_DIR = "$(SOURCE_ROOT)/../../include";
                                NH_ROOT = "$(SOURCE_ROOT)/../..";
                                NH_UTIL_DIR = "$(SOURCE_ROOT)/../../util";
                                OTHER_CFLAGS = (