rtt-f030/components/hello/SConscript

11 lines
211 B
Python

Import('env')
target = 'hello.mo'
module_env = env.Clone(CPPDEFINE = 'RT_MODULE')
module_env.Replace(LINKFLAGS = ' -r -d -e rtm_main -nostdlib')
src_local = Glob('*.c')
module_env.Program(target, src_local)