diff options
Diffstat (limited to 'amalgamate/merge_all.py')
-rw-r--r-- | amalgamate/merge_all.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/amalgamate/merge_all.py b/amalgamate/merge_all.py index 273ea87..afa0124 100644 --- a/amalgamate/merge_all.py +++ b/amalgamate/merge_all.py @@ -11,7 +11,8 @@ if len(sys.argv) > 1: OUTPUT = 'crow_all.h' re_depends = re.compile('^#include "(.*)"', re.MULTILINE) -headers = [x.rsplit('/', 1)[-1] for x in glob(pt.join(header_path, '*.h'))] +headers = [x.rsplit('/', 1)[-1] for x in glob(pt.join(header_path, '*.h*'))] +headers += ['crow/' + x.rsplit('/', 1)[-1] for x in glob(pt.join(header_path, 'crow/*.h*'))] print(headers) edges = defaultdict(list) for header in headers: |