Import("env") env.Append( LINT_SOURCES=[ "#/lib/lfrfid", ], CPPPATH=[ "#/lib/lfrfid", ], SDK_HEADERS=[ File("#/lib/lfrfid/lfrfid_worker.h"), ], ) libenv = env.Clone(FW_LIB_NAME="lfrfid") libenv.ApplyLibFlags() sources = libenv.GlobRecursive("*.c*") lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources) libenv.Install("${LIB_DIST_DIR}", lib) Return("lib")