mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-29 14:13:08 +00:00
23 lines
540 B
Python
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")
|