From c1ebde5c28524747deef1ed2240641c1b2b8db38 Mon Sep 17 00:00:00 2001 From: Arkadiusz Michalski Date: Tue, 11 Jan 2022 17:58:52 +1100 Subject: Bug [#2306] Allow choice of object file directory with makefile by setting DIR_O. --- win32/DepGen.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'win32/DepGen.py') diff --git a/win32/DepGen.py b/win32/DepGen.py index f2cbb4838..cd38367c3 100644 --- a/win32/DepGen.py +++ b/win32/DepGen.py @@ -19,6 +19,9 @@ def Generate(): # Create the dependencies file for g++ deps = Dependencies.FindDependencies(["../win32/*.cxx"] + sources, ["../win32"] + includes, ".o", "../win32/") + # Place the objects in $(DIR_O) + deps = [["$(DIR_O)/"+obj, headers] for obj, headers in deps] + Dependencies.UpdateDependencies("../win32/deps.mak", deps, topComment) # Create the dependencies file for MSVC -- cgit v1.2.3