diff options
author | David Haywood <mamehaze@users.noreply.github.com> | 2016-05-01 10:05:12 +0100 |
---|---|---|
committer | David Haywood <mamehaze@users.noreply.github.com> | 2016-05-01 10:05:12 +0100 |
commit | f706aedf54f16c8713dbd8d8c306eae835fc3bd0 (patch) | |
tree | 251e499102356511d1c52ac67180f9329fe40e55 /scripts | |
parent | 4f231ca8cae441588c599492dfbd2ecf6b97a144 (diff) | |
parent | f0aba04123f8dad07f55381fd9fd361c488178c8 (diff) |
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/build/makedep.py | 4 |
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() |