1 2from building import * 3import rtconfig 4 5cwd = GetCurrentDir() 6src = [] 7 8src += Glob('*.c') 9CPPPATH = [cwd] 10LOCAL_CFLAGS = '' 11 12if rtconfig.PLATFORM in ['gcc', 'armclang']: 13 LOCAL_CFLAGS += ' -std=c99' 14elif rtconfig.PLATFORM in ['armcc']: 15 LOCAL_CFLAGS += ' --c99' 16 17group = DefineGroup('Fal', src, depend = ['RT_USING_FAL'], CPPPATH = CPPPATH, LOCAL_CFLAGS = LOCAL_CFLAGS) 18 19Return('group') 20