diff options
Diffstat (limited to 'cpp/config/makedepend.py')
-rwxr-xr-x | cpp/config/makedepend.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/config/makedepend.py b/cpp/config/makedepend.py index 478bed85418..288de64118d 100755 --- a/cpp/config/makedepend.py +++ b/cpp/config/makedepend.py @@ -8,7 +8,7 @@ # # ********************************************************************** -import fileinput, re +import fileinput, re, string previous = "" @@ -18,6 +18,8 @@ for line in fileinput.input(): if re.compile("^#").search(line, 0): continue; + line = string.replace(line, ".o:", "$(OBJEXT):") + if(previous): line = previous + " " + line |