aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/DepGen.py
diff options
context:
space:
mode:
authorArkadiusz Michalski <unknown>2022-01-11 17:58:52 +1100
committerArkadiusz Michalski <unknown>2022-01-11 17:58:52 +1100
commitc1ebde5c28524747deef1ed2240641c1b2b8db38 (patch)
tree0067d2429fadad2ba00337d8882199437a032c6a /win32/DepGen.py
parent10161cbeb2238afa663e4e2c537145d43c4eb101 (diff)
downloadscintilla-mirror-c1ebde5c28524747deef1ed2240641c1b2b8db38.tar.gz
Bug [#2306] Allow choice of object file directory with makefile by setting DIR_O.
Diffstat (limited to 'win32/DepGen.py')
-rw-r--r--win32/DepGen.py3
1 files changed, 3 insertions, 0 deletions
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