mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-25 03:29:58 -07:00
24 lines
540 B
Python
24 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")
|