From 4f9dde3ec08149ab33f98e943f9ddaa2204c5bb0 Mon Sep 17 00:00:00 2001 From: TAKADA Mitsutaka Date: Wed, 8 May 2024 18:23:03 +0900 Subject: [PATCH] Update Makefile.config.win to use parent directory for boost and xerces paths --- Makefile.config.win | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile.config.win b/Makefile.config.win index b81f306..9ffb872 100644 --- a/Makefile.config.win +++ b/Makefile.config.win @@ -1,8 +1,13 @@ +# Makefileの存在するディレクトリ +MAKEFILE_DIR:=$(dir $(abspath $(lastword $(MAKEFILE_LIST)))) +# 一つ上のディレクトリ +PARENT_DIR := $(shell dirname ${MAKEFILE_DIR}) + LIBBOOST_SUFFIX= BOOST_VERSION= -BOOST_DIR=../boost -XERCES_DIR=../boost -LIBBOOST_DIR=../boost/stage/x64/Release/lib -LIBXERCES_DIR=../boost/stage/x64/Release/lib +BOOST_DIR=$(PARENT_DIR)/boost +XERCES_DIR=$(PARENT_DIR)/boost +LIBBOOST_DIR=$(PARENT_DIR)/boost/stage/x64/Release/lib +LIBXERCES_DIR=$(PARENT_DIR)/boost/stage/x64/Release/lib OPTIONS= HAS_CFG_XML=1