mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-21 04:11:48 +03:00
27 lines
477 B
Plaintext
27 lines
477 B
Plaintext
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")
|