SConscript 397 B

1234567891011121314151617181920
  1. from building import *
  2. import rtconfig
  3. cwd = GetCurrentDir()
  4. src = []
  5. src += Glob('*.c')
  6. CPPPATH = [cwd]
  7. LOCAL_CCFLAGS = ''
  8. if rtconfig.CROSS_TOOL == 'gcc':
  9. LOCAL_CCFLAGS += ' -std=c99'
  10. elif rtconfig.CROSS_TOOL == 'keil':
  11. LOCAL_CCFLAGS += ' --c99'
  12. group = DefineGroup('fal', src, depend = ['PKG_USING_FAL'], CPPPATH = CPPPATH, LOCAL_CCFLAGS = LOCAL_CCFLAGS)
  13. Return('group')