summaryrefslogtreecommitdiffstatshomepage
path: root/scripts
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-05-01 11:01:27 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-05-01 11:01:27 +0200
commit99f69920ac53ad4f3a392170e19ec2f8690a0f0f (patch)
tree199deb766d4d2ae6e51cc5e13a27c10d62c242b0 /scripts
parent10557e4f12571020e9ef00b082702744dfb9c300 (diff)
Fix dependency resolving (nw)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/build/makedep.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/makedep.py b/scripts/build/makedep.py
index 2ce47d42cd0..b1278879d77 100644
--- a/scripts/build/makedep.py
+++ b/scripts/build/makedep.py
@@ -160,7 +160,9 @@ def parse_file(root, srcfile, folder):
files_included.append(fullname)
newfolder = fullname.rsplit('/', 1)[0] + '/'
parse_file(root, fullname, newfolder)
- if (fullname.endswith('.h')):
+ if (fullname.endswith('.h') and not("src/emu" in fullname) and not("src/devices" in fullname) and not("src/lib" in fullname) and not("src/osd" in fullname)):
+ parse_file_for_deps(root, fullname.replace('.h','.cpp'), newfolder)
+ elif fullname.endswith('.h'):
parse_file(root, fullname.replace('.h','.cpp'), newfolder)
continue
fp.close()