mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-23 11:13:09 +00:00
18 lines
340 B
Python
18 lines
340 B
Python
Import("env")
|
|
|
|
env.Append(
|
|
CPPPATH=[
|
|
"#/lib/infrared/encoder_decoder",
|
|
"#/lib/infrared/worker",
|
|
],
|
|
)
|
|
|
|
|
|
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")
|