mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 23:10:22 +00:00
13 lines
260 B
Python
13 lines
260 B
Python
Import("env")
|
|
|
|
env.Append(LINT_SOURCES=["core"])
|
|
|
|
|
|
libenv = env.Clone(FW_LIB_NAME="core")
|
|
libenv.ApplyLibFlags()
|
|
|
|
sources = libenv.GlobRecursive("*.c")
|
|
|
|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
|
|
libenv.Install("${LIB_DIST_DIR}", lib)
|
|
Return("lib")
|