21 lines
		
	
	
		
			374 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			374 B
		
	
	
	
		
			Python
		
	
	
	
	
	
Import("env")
 | 
						|
 | 
						|
env.Append(
 | 
						|
    CPPPATH=[
 | 
						|
        "#/lib/nfc",
 | 
						|
    ],
 | 
						|
    SDK_HEADERS=[
 | 
						|
        File("nfc_device.h"),
 | 
						|
        File("protocols/nfc_util.h"),
 | 
						|
    ],
 | 
						|
)
 | 
						|
 | 
						|
libenv = env.Clone(FW_LIB_NAME="nfc")
 | 
						|
libenv.ApplyLibFlags()
 | 
						|
 | 
						|
sources = libenv.GlobRecursive("*.c*")
 | 
						|
 | 
						|
lib = libenv.StaticLibrary("${FW_LIB_NAME}", sources)
 | 
						|
libenv.Install("${LIB_DIST_DIR}", lib)
 | 
						|
Return("lib")
 |