Import('env') Import('projects') Import('RTT_ROOT') Import('rtconfig') # group definitions group = {} group['name'] = 'module' group['src'] = Glob('src/*.c') group['CCFLAGS'] = '' group['CPPPATH'] = [RTT_ROOT + '/components/module/interface/include'] group['CPPDEFINES'] = '' # add group to project list projects.append(group) env.Append(CCFLAGS = group['CCFLAGS']) env.Append(CPPPATH = group['CPPPATH']) env.Append(CPPDEFINES = group['CPPDEFINES']) objs = env.Object(group['src']) Return('objs')