mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-19 17:23:25 +00:00
26 lines
477 B
Text
26 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")
|