mirror of
https://github.com/D4C1-Labs/Flipper-ARF.git
synced 2026-03-30 13:15:38 +00:00
31 lines
707 B
Python
31 lines
707 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/infrared/encoder_decoder",
|
|
"#/lib/infrared/worker",
|
|
"#/lib/infrared/signal",
|
|
],
|
|
SDK_HEADERS=[
|
|
File("encoder_decoder/infrared.h"),
|
|
File("worker/infrared_worker.h"),
|
|
File("worker/infrared_transmit.h"),
|
|
File("signal/infrared_error_code.h"),
|
|
File("signal/infrared_signal.h"),
|
|
File("signal/infrared_brute_force.h"),
|
|
],
|
|
LINT_SOURCES=[
|
|
Dir("."),
|
|
],
|
|
)
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="infrared")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|