Import('RTT_ROOT') Import('rtconfig') from building import * cwd = os.path.join(str(Dir('#')), 'applications') src = Glob('*.c') CPPPATH = [cwd, str(Dir('#'))] CFLAGS = ' -c -mistack -ffunction-sections' group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CFLAGS=CFLAGS) Return('group')