From 8b8dba661f5e29e1592cc9df92ef219099809330 Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Sat, 29 May 2010 14:19:56 +0000 Subject: module developing git-svn-id: https://rt-thread.googlecode.com/svn/trunk@742 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/module/interface/SConscript | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 components/module/interface/SConscript (limited to 'components/module/interface/SConscript') diff --git a/components/module/interface/SConscript b/components/module/interface/SConscript new file mode 100644 index 0000000000..a0956d9a18 --- /dev/null +++ b/components/module/interface/SConscript @@ -0,0 +1,23 @@ +Import('env') +Import('projects') +Import('RTT_ROOT') +Import('rtconfig') + +# group definitions +group = {} +group['name'] = 'module' +group['src'] = Glob('src/*.c') +group['CCFLAGS'] = '' +group['CPPPATH'] = [RTT_ROOT + '/components/module/interface/include'] +group['CPPDEFINES'] = '' + +# add group to project list +projects.append(group) + +env.Append(CCFLAGS = group['CCFLAGS']) +env.Append(CPPPATH = group['CPPPATH']) +env.Append(CPPDEFINES = group['CPPDEFINES']) + +objs = env.Object(group['src']) + +Return('objs') -- cgit v1.3.1