Example #1
0
 def makefile(self, name):
     log.writing(name)
     filepath = self.path.join(name)
     if name.endswith('.c'):
         self.extrafiles.append(filepath)
     if name.endswith('.h'):
         self.headers_to_precompile.append(filepath)
     return filepath.open('w')
Example #2
0
 def makefile(self, name):
     log.writing(name)
     filepath = self.path.join(name)
     if name.endswith('.c'):
         self.extrafiles.append(filepath)
     if name.endswith('.h'):
         self.headers_to_precompile.append(filepath)
     return filepath.open('w')