16 lines
320 B
Python
16 lines
320 B
Python
from building import *
|
|
import rtconfig
|
|
|
|
src = Glob('*.c')
|
|
cwd = GetCurrentDir()
|
|
group = []
|
|
|
|
CPPPATH = [cwd]
|
|
CPPDEFINES = ['RT_USING_DLIBC']
|
|
|
|
if rtconfig.PLATFORM == 'iar':
|
|
group = DefineGroup('dlib', src, depend = ['RT_USING_LIBC'],
|
|
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES, LIBS = LIBS)
|
|
|
|
Return('group')
|