mirror of
https://github.com/D4C1-Labs/Flipper-ARF.git
synced 2026-08-20 05:59:48 +00:00
26 lines
450 B
Python
26 lines
450 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/ble_central",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("ble_central.h"),
|
|
],
|
|
)
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="ble_central")
|
|
libenv.AppendUnique(
|
|
CCFLAGS=[
|
|
"-mword-relocations",
|
|
"-mlong-calls",
|
|
],
|
|
)
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|