from building import * # get current directory cwd = GetCurrentDir() # The set of source files associated with this SConscript file. src = Glob('src/*.c') src += Glob('port/*.c') path = [cwd + '/inc'] path += [cwd + '/port'] group = DefineGroup('EasyFlash', src, depend = ['PKG_USING_EASYFLASH'], CPPPATH = path) Return('group')