@@ -1,3 +1,4 @@
+import os
from building import *
cwd = GetCurrentDir()
@@ -6,4 +7,9 @@ CPPPATH = [cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
+list = os.listdir(cwd)
+for item in list:
+ if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
+ group = group + SConscript(os.path.join(item, 'SConscript'))
+
Return('group')
@@ -1,10 +1,15 @@
src = Glob('*.c')
-
-CPPPATH = [cwd, str(Dir('#'))]
+CPPPATH = [cwd]