diff --git a/makefiles/Makefile.port b/makefiles/Makefile.port index a4b0e8cb51..6534189f25 100644 --- a/makefiles/Makefile.port +++ b/makefiles/Makefile.port @@ -61,6 +61,10 @@ ifeq ("$(SYSTEM)","win") OS = Windows TOP_AUX = $(shell cd) TOP = $(shell echo $(TOP_AUX) | tools\\sed.exe -e "s/\\/\\\\/g") + ifneq ($(wildcard c:/python27/python.exe),) + WINDOWS_PYTHON_PATH = c:\\python27 + PYTHONVERSION = 27 + endif endif diff --git a/makefiles/Makefile.third_party.win b/makefiles/Makefile.third_party.win index a03d600741..b9d755e292 100644 --- a/makefiles/Makefile.third_party.win +++ b/makefiles/Makefile.third_party.win @@ -177,6 +177,8 @@ install_python_modules: Makefile.local: @echo Generating Makefile.local @echo WINDOWS_PYTHON_VER = $(PYTHONVERSION) > Makefile.local + @echo WINDOWS_PYTHON_INC=/I$(WINDOWS_PYTHON_PATH)\\include >> Makefile.local + @echo WINDOWS_PYTHON_LNK=$(WINDOWS_PYTHON_PATH)\\lib\\python$(PYTHONVERSION).lib >> Makefile.local @echo WINDOWS_GFLAGS_DIR = $(TOP)\\dependencies\\install >> Makefile.local @echo WINDOWS_PROTOBUF_DIR = $(TOP)\\dependencies\\install >> Makefile.local @echo WINDOWS_SPARSEHASH_DIR = $(TOP)\\dependencies\\install >> Makefile.local @@ -186,6 +188,6 @@ Makefile.local: @echo WINDOWS_GLPK_DIR = $(TOP)\\dependencies\\install >> Makefile.local @echo $(SCIP_MAKEFILE) >> Makefile.local @echo $(SELECTED_JDK_DEF) >> Makefile.local - @echo $(SCIP_MAKEFILE) + @echo $(SCIP_MAKEFILE) >> Makefile.local