mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-27 21:23:07 +00:00
19 lines
340 B
Python
19 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")
|