import os Import("globalEnv") env = globalEnv.Clone() env.Append(CPPPATH=[env["INIHCPPSRC"], env["INIHSRC"]]) files = Glob(os.path.join(env["INIHCPPSRC"], "*.cpp")) files.append(Glob(os.path.join(env["INIHSRC"], "*.c"))) env.Library(target="inihcpp", source=files)