unleashed-firmware/lib/infrared/SConscript
2022-10-28 21:44:36 +03:00

23 lines
540 B
Python

Import("env")
env.Append(
CPPPATH=[
"#/lib/infrared/encoder_decoder",
"#/lib/infrared/worker",
],
SDK_HEADERS=[
File("#/lib/infrared/worker/infrared_transmit.h"),
File("#/lib/infrared/worker/infrared_worker.h"),
File("#/lib/infrared/encoder_decoder/infrared.h"),
],
)
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")