Commit ef760d63 authored by Ashwin Vishnu's avatar Ashwin Vishnu
Browse files

More verbose purepymake

parent d962c8e1bc5b
......@@ -119,6 +119,9 @@ class Extension(object):
self.libraries = libraries
self.language = language
def __repr__(self):
return 'purepymake.Extension<{}>'.format(self.name)
def has_to_build(output_file, input_files):
if not os.path.exists(output_file):
......@@ -321,6 +324,7 @@ def make_extensions(extensions,
sources = set()
for ext in extensions:
print('make_extensions: ', ext)
sources.update(ext.sources)
# prepare a dictionary listing all files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment