mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-18 08:43:10 +00:00
27 lines
477 B
Text
27 lines
477 B
Text
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/app-scened-template",
|
||
|
"#/lib/callback-connector",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="appframe")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = []
|
||
|
|
||
|
recurse_dirs = [
|
||
|
"app-scened-template",
|
||
|
"callback-connector",
|
||
|
]
|
||
|
|
||
|
for recurse_dir in recurse_dirs:
|
||
|
sources += libenv.GlobRecursive("*.c*", recurse_dir)
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|