1# for module compiling
2import os
3from building import *
4
5cwd     = GetCurrentDir()
6objs    = []
7list    = os.listdir(cwd)
8
9for d in list:
10    path = os.path.join(cwd, d)
11    if os.path.isfile(os.path.join(path, 'SConscript')):
12        objs = objs + SConscript(os.path.join(d, 'SConscript'))
13Return('objs')
14