mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-12-27 05:03:08 +00:00
20 lines
318 B
Text
20 lines
318 B
Text
|
Import("env")
|
||
|
|
||
|
env.Append(
|
||
|
CPPPATH=[
|
||
|
"#/lib/loclass",
|
||
|
],
|
||
|
CPPDEFINES=[
|
||
|
],
|
||
|
)
|
||
|
|
||
|
|
||
|
libenv = env.Clone(FW_LIB_NAME="loclass")
|
||
|
libenv.ApplyLibFlags()
|
||
|
|
||
|
sources = Glob("loclass/*.c", source=True)
|
||
|
|
||
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
||
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
||
|
Return("lib")
|