SConscript 404 B

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